Переглянути джерело

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