aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-11-24 01:31:23 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-11-24 11:10:51 +0000
commit3b13df4adc08b408aee468ffe01fdee8aef4cfab (patch)
tree722bc6dd5f4c03dcc2f2434239b7d74c9d29dd36 /libs
parentca21bbf2edd64fffd044e0d6caf6975243a3fa4b (diff)
libxml2: build host static lib with -fPIC
libxslt/host is complaing that static libxml2 should be with -fPIC. Unconditionally enable -fPIC for for host build of libxml2. Fixes: dc701d61b ("libxml2: don't build host shared libraries") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'libs')
-rw-r--r--libs/libxml2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/libxml2/Makefile b/libs/libxml2/Makefile
index 82651faff..d6cb01d94 100644
--- a/libs/libxml2/Makefile
+++ b/libs/libxml2/Makefile
@@ -105,6 +105,7 @@ CONFIGURE_ARGS += \
HOST_CONFIGURE_ARGS += \
--disable-shared \
--enable-static \
+ --with-pic \
--with-c14n \
--without-catalog \
--with-debug \