Sfoglia il codice sorgente

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 anni fa
parent
commit
b7edec4b36
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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 \