From 8d8868cffc07eeb0f6cb3cb285883fb2ae18b76b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 29 Jun 2014 22:25:43 +0000
Subject: [PATCH] gettext-full: use uclibc workarounds for musl as well

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41397
---
 package/libs/gettext-full/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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 \
-- 
GitLab