summaryrefslogtreecommitdiff
path: root/package/libs/gettext-full
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
commit8d8868cffc07eeb0f6cb3cb285883fb2ae18b76b (patch)
tree11ee0d65fb25a2af6456668d9f416868350b73b2 /package/libs/gettext-full
parent4beaccc7d0a47aa0aef724bc3d4a37f083ff6817 (diff)
downloadmtk-20170518-8d8868cffc07eeb0f6cb3cb285883fb2ae18b76b.zip
mtk-20170518-8d8868cffc07eeb0f6cb3cb285883fb2ae18b76b.tar.gz
mtk-20170518-8d8868cffc07eeb0f6cb3cb285883fb2ae18b76b.tar.bz2
gettext-full: use uclibc workarounds for musl as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41397
Diffstat (limited to 'package/libs/gettext-full')
-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 11dc1f5..ca521b4 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 \