summaryrefslogtreecommitdiff
path: root/package/libs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-06 14:49:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-06 14:49:20 +0000
commitb7edec4b36e0282a635a408e27d8048ae0f23518 (patch)
treeeb073d26873f93d9a7894397623f38a98e0f89e9 /package/libs
parentb1e7072f5116aa77db5bb2e079b31cebd4a50ce0 (diff)
downloadmtk-20170518-b7edec4b36e0282a635a408e27d8048ae0f23518.zip
mtk-20170518-b7edec4b36e0282a635a408e27d8048ae0f23518.tar.gz
mtk-20170518-b7edec4b36e0282a635a408e27d8048ae0f23518.tar.bz2
gettext-full: use portability header files for byteswapping on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37186
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/gettext-full/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index 7b640e6..11dc1f5 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -35,6 +35,9 @@ define Package/libintl-full
endef
TARGET_CFLAGS += $(FPIC)
+ifneq ($(HOST_OS),Linux)
+ TARGET_CFLAGS += -I$(STAGING_DIR_HOST)/include
+endif
CONFIGURE_ARGS += \
--enable-shared \