[openwrt/openwrt] readline: add host PIC
LEDE Commits
lede-commits at lists.infradead.org
Sun Apr 17 16:06:53 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/541acd3933b08ea01ac3af29a19372e6e50e91f1
commit 541acd3933b08ea01ac3af29a19372e6e50e91f1
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Wed Mar 30 21:33:01 2022 -0700
readline: add host PIC
Python seems to fail to link to libreadline properly because of this.
Not a fatal error but an error nontheless.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
(cherry picked from commit b363f7488643882b9c53a1e2c6db2a110703cc1d)
---
package/libs/readline/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libs/readline/Makefile b/package/libs/readline/Makefile
index d14f058eab..9cf061a648 100644
--- a/package/libs/readline/Makefile
+++ b/package/libs/readline/Makefile
@@ -53,6 +53,7 @@ CONFIGURE_VARS += \
bash_cv_func_sigsetjmp=yes \
TARGET_CFLAGS += $(FPIC)
+HOST_CFLAGS += $(FPIC)
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
More information about the lede-commits
mailing list