pcre: Depending on C++ now 8601/head
authorBjørn Mork <bjorn@mork.no>
Fri, 5 Apr 2019 13:16:41 +0000 (15:16 +0200)
committerBjørn Mork <bjorn@mork.no>
Fri, 5 Apr 2019 14:29:45 +0000 (16:29 +0200)
commitec138f51ab54873252bbe3e848f5fa9c20de78b9
tree3223a899fa57e1b5ffedb34f6f672e9ff0638b5a
parente57a46ab6ea3464a97006ee81f07dacf28922e27
pcre: Depending on C++ now

Must depend on cpp for the unconditional --enable-cpp, or the build can
fail when CONFIG_PACKAGE_libpcrecpp is unset and nothing else has built
the c++ toolchain:

 configure: error: Invalid C++ compiler or C++ compiler flags
 Makefile:97: recipe for target '/usr/local/src/lede/build_dir/target-mipsel_24kc_musl/pcre-8.42/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
 make[3]: *** [/usr/local/src/lede/build_dir/target-mipsel_24kc_musl/pcre-8.42/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
 make[3]: Leaving directory '/usr/local/src/lede/feeds/packages/libs/pcre'
 time: package/feeds/packages/pcre/compile#4.48#0.30#6.88
 package/Makefile:107: recipe for target 'package/feeds/packages/pcre/compile' failed

Fixes: 17090fecf18c ("pcre: Fix compile of libpcrecpp")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
libs/pcre/Makefile