gettext-full: use uclibc workarounds for musl as well
[openwrt/svn-archive/archive.git] / package / libs / gettext-full / Makefile
index 11dc1f564360060c935b978e36ee407135227a18..ca521b4c52d23b2f19acd74d49d506d7373a1134 100644 (file)
@@ -38,6 +38,9 @@ TARGET_CFLAGS += $(FPIC)
 ifneq ($(HOST_OS),Linux)
   TARGET_CFLAGS += -I$(STAGING_DIR_HOST)/include
 endif
+ifdef CONFIG_USE_MUSL
+  TARGET_CFLAGS += -D__UCLIBC__
+endif
 
 CONFIGURE_ARGS += \
        --enable-shared \