aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-29 22:25:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-29 22:25:43 +0000
commit6896bba81b8490455ca0872795dedde950b6dc1a (patch)
tree79ace74ed35691caf97f9cd7c50c0b23fa107e61
parent7559e1db0cf4124923a7f8389bfe7593ab0644a7 (diff)
downloadupstream-6896bba81b8490455ca0872795dedde950b6dc1a.tar.gz
upstream-6896bba81b8490455ca0872795dedde950b6dc1a.tar.bz2
upstream-6896bba81b8490455ca0872795dedde950b6dc1a.zip
gettext-full: use uclibc workarounds for musl as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41397 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libs/gettext-full/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libs/gettext-full/Makefile b/package/libs/gettext-full/Makefile
index 11dc1f5643..ca521b4c52 100644
--- a/package/libs/gettext-full/Makefile
+++ b/package/libs/gettext-full/Makefile
@@ -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 \