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

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 5 14:34:25 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/56463b02213567e111fef64dc15543a004c2230e

commit 56463b02213567e111fef64dc15543a004c2230e
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>
    (cherry picked from commit f8571749a77ea23b418c84692220083858c1df79)
---
 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