aboutsummaryrefslogtreecommitdiffstats
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
commit64e2d1fd4e2d76c51b61abcb3864fb9c28c01e22 (patch)
tree393a423de5717a8d271e4c7511c31db8b6e88535
parent9fea6e4648937f5fb4920e5372947811cff401fe (diff)
downloadmaster-187ad058-64e2d1fd4e2d76c51b61abcb3864fb9c28c01e22.tar.gz
master-187ad058-64e2d1fd4e2d76c51b61abcb3864fb9c28c01e22.tar.bz2
master-187ad058-64e2d1fd4e2d76c51b61abcb3864fb9c28c01e22.zip
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 \