Browse Source

gettext-full: use portability header files for byteswapping on non-linux systems

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 37186
Felix Fietkau 12 năm trước cách đây
mục cha
commit
b7edec4b36
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      package/libs/gettext-full/Makefile

+ 3 - 0
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 \