aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-03-30 21:33:01 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2022-04-17 21:47:11 +0200
commit541acd3933b08ea01ac3af29a19372e6e50e91f1 (patch)
treec0c1aab5fe75bcc25375cf96841b7b21f128bb69 /package/libs
parent143cbb22e12829edb2dca859e7329e6712ece567 (diff)
downloadupstream-541acd3933b08ea01ac3af29a19372e6e50e91f1.tar.gz
upstream-541acd3933b08ea01ac3af29a19372e6e50e91f1.tar.bz2
upstream-541acd3933b08ea01ac3af29a19372e6e50e91f1.zip
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@gmail.com> (cherry picked from commit b363f7488643882b9c53a1e2c6db2a110703cc1d)
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/readline/Makefile1
1 files changed, 1 insertions, 0 deletions
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