From 3b13df4adc08b408aee468ffe01fdee8aef4cfab Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 24 Nov 2021 01:31:23 +0000 Subject: [PATCH] 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 --- libs/libxml2/Makefile | 1 + 1 file changed, 1 insertion(+) 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 \