aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/readline/Makefile
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-16 14:02:11 +0200
commitb363f7488643882b9c53a1e2c6db2a110703cc1d (patch)
tree96e5907a096a6000e1ed20d632950084d5fd27a4 /package/libs/readline/Makefile
parentfc60b97a772e857d1d049b34f116d91c462db462 (diff)
downloadupstream-b363f7488643882b9c53a1e2c6db2a110703cc1d.tar.gz
upstream-b363f7488643882b9c53a1e2c6db2a110703cc1d.tar.bz2
upstream-b363f7488643882b9c53a1e2c6db2a110703cc1d.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>
Diffstat (limited to 'package/libs/readline/Makefile')
-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