Browse Source

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>
lilik-openwrt-22.03
Daniel Golle 3 years ago
parent
commit
3b13df4adc
No known key found for this signature in database GPG Key ID: 5A8F39C31C3217CA
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libs/libxml2/Makefile

+ 1
- 0
libs/libxml2/Makefile View File

@ -105,6 +105,7 @@ CONFIGURE_ARGS += \
HOST_CONFIGURE_ARGS += \ HOST_CONFIGURE_ARGS += \
--disable-shared \ --disable-shared \
--enable-static \ --enable-static \
--with-pic \
--with-c14n \ --with-c14n \
--without-catalog \ --without-catalog \
--with-debug \ --with-debug \


Loading…
Cancel
Save