summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Walsh2018-08-07 15:46:42 +0000
committerJo-Philipp Wich2018-12-18 10:28:14 +0000
commit38e99cb37942716c3ae2d4d4e083fc38469dfcf5 (patch)
tree869883ce02afa69c5fe7e64045b034a31955af26
parent9a01ff5c0349c01d2182d9b4f15fe7ba8b156329 (diff)
downloadopenwrt-38e99cb37942716c3ae2d4d4e083fc38469dfcf5.tar.gz
gettext-full: host compile with -fpic
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com> (backported from 2bbc9376c6c081a8db491f047e32091da6ba0016)
-rw-r--r--package/libs/gettext-full/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index db6aee7508..4cb8d8d618 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -77,6 +77,8 @@ HOST_CONFIGURE_VARS += \
am_cv_func_iconv=no \
ac_cv_header_iconv_h=no \
+HOST_CFLAGS += $(HOST_FPIC)
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/libintl-full/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/libintl-full/include/