From: Felix Fietkau Date: Sat, 6 Jul 2013 14:49:20 +0000 (+0000) Subject: gettext-full: use portability header files for byteswapping on non-linux systems X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b7edec4b36e0282a635a408e27d8048ae0f23518;p=openwrt%2Fstaging%2Fblocktrron.git gettext-full: use portability header files for byteswapping on non-linux systems Signed-off-by: Felix Fietkau SVN-Revision: 37186 --- 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 \