summaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2018-08-07 17:46:42 +0200
committerJo-Philipp Wich <jo@mein.io>2018-12-18 11:28:14 +0100
commit38e99cb37942716c3ae2d4d4e083fc38469dfcf5 (patch)
tree869883ce02afa69c5fe7e64045b034a31955af26 /package/libs
parent9a01ff5c0349c01d2182d9b4f15fe7ba8b156329 (diff)
downloadopenwrt-38e99cb37942716c3ae2d4d4e083fc38469dfcf5.tar.gz
openwrt-38e99cb37942716c3ae2d4d4e083fc38469dfcf5.tar.bz2
openwrt-38e99cb37942716c3ae2d4d4e083fc38469dfcf5.zip
gettext-full: host compile with -fpic
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com> (backported from 2bbc9376c6c081a8db491f047e32091da6ba0016)
Diffstat (limited to 'package/libs')
-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/