[openwrt/openwrt] readline: add host PIC
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 16 05:25:08 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b363f7488643882b9c53a1e2c6db2a110703cc1d
commit b363f7488643882b9c53a1e2c6db2a110703cc1d
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>
---
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