summaryrefslogtreecommitdiffstats
path: root/package/libxml2
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-10-18 09:30:53 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-18 19:26:00 +0200
commit91709de4175a27bc5cdecd4bb65b505c726e3aa1 (patch)
treecaaa64f2125665a4f63f18219a5acc8e0edcd66a /package/libxml2
parent8106b3c14ab2dffde514070318a53d0d71276bd7 (diff)
downloadbuildroot-91709de4175a27bc5cdecd4bb65b505c726e3aa1.tar.gz
buildroot-91709de4175a27bc5cdecd4bb65b505c726e3aa1.zip
libxml2: explicitly state zlib dir
Pass the zlib directory prefix to --with-zlib otherwise it expands into absolute (distribution) directories leading to bad test results in configure. Fixes: http://autobuild.buildroot.net/results/303/303d6d165c5423944122bf430575c018479733f8/build-end.log Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/libxml2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 4e296fa61f..354c17853a 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -25,7 +25,7 @@ HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python
ifeq ($(BR2_PACKAGE_ZLIB),y)
LIBXML2_DEPENDENCIES += zlib
-LIBXML2_CONF_OPTS += --with-zlib
+LIBXML2_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
else
LIBXML2_CONF_OPTS += --without-zlib
endif
OpenPOWER on IntegriCloud