gettext-full: use portability header files for byteswapping on non-linux systems
authorFelix Fietkau <nbd@openwrt.org>
Sat, 6 Jul 2013 14:49:20 +0000 (14:49 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 6 Jul 2013 14:49:20 +0000 (14:49 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37186

package/libs/gettext-full/Makefile

index 7b640e6e45cb4ff35736fa9d49f14d61cf370cbf..11dc1f564360060c935b978e36ee407135227a18 100644 (file)
@@ -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 \