From: Bernd Kuhls Date: Sun, 13 Dec 2015 09:53:46 +0000 (+0100) Subject: package/xmlstarlet: Fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4edc0f1cddf4948abb45e6c78a0a12b82bca8d14;p=buildroot.git package/xmlstarlet: Fix static build If libxml2 depends on xz (liblzma) static linking is broken. Fixes http://autobuild.buildroot.net/results/df3/df3f5fa770833c8c4344ee0bc67f45aa578ce542/ http://autobuild.buildroot.net/results/070/07021c8bd6e2031c2717fc58e2d3ff30c412fa90/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/xmlstarlet/xmlstarlet.mk b/package/xmlstarlet/xmlstarlet.mk index 992bb8f3ba..e0abf04502 100644 --- a/package/xmlstarlet/xmlstarlet.mk +++ b/package/xmlstarlet/xmlstarlet.mk @@ -21,6 +21,7 @@ XMLSTARLET_CONF_OPTS += \ ifeq ($(BR2_STATIC_LIBS),y) XMLSTARLET_CONF_OPTS += --enable-static-libs +XMLSTARLET_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libxml-2.0`" else XMLSTARLET_CONF_OPTS += --disable-static-libs endif