From 4edc0f1cddf4948abb45e6c78a0a12b82bca8d14 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 13 Dec 2015 10:53:46 +0100 Subject: [PATCH] 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 --- package/xmlstarlet/xmlstarlet.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2