[openwrt/openwrt] readline: disable shared library for host

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 20 12:08:54 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a24de8953971124ee752021e49b18bdf2ce5cc9c

commit a24de8953971124ee752021e49b18bdf2ce5cc9c
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue Oct 19 00:52:03 2021 -0700

    readline: disable shared library for host
    
    Allows to avoid rpath hacks with at least softethervpn.
    
    --with-pic is needed as it's not default with static libraries, only
    shared ones.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/libs/readline/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile
index d41a6d74f4..d14f058eab 100644
--- a/package/libs/readline/Makefile
+++ b/package/libs/readline/Makefile
@@ -45,6 +45,7 @@ define Package/libreadline/description
 	history expansion on previous commands.
 endef
 
+HOST_CONFIGURE_ARGS += --disable-shared --with-pic
 CONFIGURE_ARGS += --with-curses --disable-install-examples
 
 CONFIGURE_VARS += \



More information about the lede-commits mailing list