package/powertop: depends on c++
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 27 Mar 2015 16:01:37 +0000 (17:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Apr 2015 22:05:38 +0000 (00:05 +0200)
commita5a96576fae05bd5b0076112f79aefc9d401efb2
treed450fe452fe3fefe56c26f1298e148eeb83ca54d
parent29df1ee7efc3e20d4cf33a62ed2f26fbd62a474b
package/powertop: depends on c++

Fixes configure error due to missing c++

checking for library containing pthread_create... no
configure: error: libpthread is required but was not found

Quote from config.log:

configure:21552: checking for library containing pthread_create
configure:21583: false -o conftest    -Os    conftest.cpp -lintl  >&5
[...]
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=false

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_POWERTOP=y

Please note the number of .cpp files belonging to powertop

output/build/powertop-2.7$ find -iname *.cpp | wc -l
59

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/powertop/Config.in