summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-06 14:49:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-06 14:49:20 +0000
commite0734b46c579b977b45dbd505e9e8b1aa6d13c68 (patch)
tree393a423de5717a8d271e4c7511c31db8b6e88535
parenta6e54ea086f9cd1dc10fd0a3fcf9d191dc9a0022 (diff)
gettext-full: use portability header files for byteswapping on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37186 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 7b640e6e45..11dc1f5643 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 \