Преглед изворни кода

mysql: only use g++-uc wrapper with uClibc++

Signed-off-by: Nicolas Thill <nico@openwrt.org>
Nicolas Thill пре 10 година
родитељ
комит
64332b7cdf
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3
    1
      utils/mysql/Makefile

+ 3
- 1
utils/mysql/Makefile Прегледај датотеку

@@ -58,7 +58,9 @@ define Package/libmysqlclient-r
58 58
   DEPENDS+= +libpthread
59 59
 endef
60 60
 
61
-TARGET_CXX=g++-uc
61
+ifneq ($(CONFIG_USE_UCLIBCXX),)
62
+  TARGET_CXX=g++-uc
63
+endif
62 64
 
63 65
 TARGET_CFLAGS += $(FPIC)
64 66