build: add a config option for choosing the prefered standard c++ library and add...
[openwrt.git] / include / uclibc++.mk
1 ifndef DUMP
2   ifdef __package_mk
3     $(error uclibc++.mk must be included before package.mk)
4   endif
5 endif
6
7 PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
8 CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
9
10 ifneq ($(CONFIG_USE_UCLIBCXX),)
11   TARGET_CXX="g++-uc"
12 endif