libxml2: build host static lib with -fPIC
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Nov 2021 01:31:23 +0000 (01:31 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 24 Nov 2021 11:10:51 +0000 (11:10 +0000)
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>
libs/libxml2/Makefile

index 82651faff99e5af934927ecb2e39fd90cf766818..d6cb01d94839ef1e5fd6bda937d9354b699fb0c3 100644 (file)
@@ -105,6 +105,7 @@ CONFIGURE_ARGS += \
 HOST_CONFIGURE_ARGS += \
        --disable-shared \
        --enable-static \
+       --with-pic \
        --with-c14n \
        --without-catalog \
        --with-debug \