libxml2: don't build host shared libraries 16960/head
authorRosen Penev <rosenp@gmail.com>
Mon, 18 Oct 2021 08:30:55 +0000 (01:30 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 24 Oct 2021 00:03:12 +0000 (17:03 -0700)
Avoids having to add

HOST_LDFLAGS: -Wl,-rpath,$(STAGING_DIR_HOSTPKG)/lib

for packages that rely on shared libraries.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libxml2/Makefile

index ab50e12192b1b6ce0917e1b86d8217626c6554e6..82651faff99e5af934927ecb2e39fd90cf766818 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libxml2
 PKG_VERSION:=2.9.12
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://xmlsoft.org/sources/
@@ -103,7 +103,7 @@ CONFIGURE_ARGS += \
        --without-lzma
 
 HOST_CONFIGURE_ARGS += \
-       --enable-shared \
+       --disable-shared \
        --enable-static \
        --with-c14n \
        --without-catalog \