[openwrt/openwrt] pcre: disable shared libraries for host builds

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 27 06:40:00 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f8571749a77ea23b418c84692220083858c1df79

commit f8571749a77ea23b418c84692220083858c1df79
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Mar 19 16:18:49 2022 -0700

    pcre: disable shared libraries for host builds
    
    Getting rid of shared libraries for hostpkg avoids having to use rpath
    hacks to find the library. It also fixes compilation with host glib2
    binaries.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/libs/pcre/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/pcre/Makefile b/package/libs/pcre/Makefile
index 42149fc511..43267562ea 100644
--- a/package/libs/pcre/Makefile
+++ b/package/libs/pcre/Makefile
@@ -62,6 +62,7 @@ define Package/libpcrecpp
 endef
 
 HOST_CONFIGURE_ARGS += \
+	--disable-shared \
 	--enable-utf8 \
 	--enable-unicode-properties \
 	--enable-pcre16 \




More information about the lede-commits mailing list