commit 64332b7cdfd78b906f502a5b03501128fb422c47
parent 948257cedac47b62470a64a534d291fe8db838c3
Author: Nicolas Thill <nico@openwrt.org>
Date: Fri, 3 Apr 2015 07:44:23 +0200
mysql: only use g++-uc wrapper with uClibc++
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/utils/mysql/Makefile b/utils/mysql/Makefile
@@ -58,7 +58,9 @@ define Package/libmysqlclient-r
DEPENDS+= +libpthread
endef
-TARGET_CXX=g++-uc
+ifneq ($(CONFIG_USE_UCLIBCXX),)
+ TARGET_CXX=g++-uc
+endif
TARGET_CFLAGS += $(FPIC)