Browse Source

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 <[email protected]>
Rosen Penev 3 years ago
parent
commit
b363f74886
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/libs/readline/Makefile

+ 1 - 0
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