From 541acd3933b08ea01ac3af29a19372e6e50e91f1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 30 Mar 2022 21:33:01 -0700 Subject: [PATCH] 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 (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 -- 2.30.2