smartmontools: Fix build with CONFIG_USE_LIBSTDCXX
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 6 Jun 2017 01:16:41 +0000 (18:16 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 6 Jun 2017 01:16:41 +0000 (18:16 -0700)
commit482499b60b3a2c92e9e4418e815957ef5430d8ef
treebcf2e416ed389e1b9b5dcb92b7cca1e39ebdc3f1
parent140b3f2fe09ed12a6561697982189cf934fcbfd8
smartmontools: Fix build with CONFIG_USE_LIBSTDCXX

The Makefile would still force the use of and linking against uClibc++
even though libstdc++ may have been chosen, which would result in the
package depending on libstdcpp ($(CXX_DEPENDS) but we would still be
missing an libuClibc++ library depdency.

Fix this by looking at CONFIG_USE_UCLIBCXX to adjust the configure
script variables.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
utils/smartmontools/Makefile