package/flac: enable building of libFLAC++
authorJörg Krause <joerg.krause@embedded.rocks>
Mon, 28 Jun 2021 06:01:25 +0000 (06:01 +0000)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 29 Jun 2021 20:22:15 +0000 (22:22 +0200)
Besides libFLAC, also build libFLAC++ when C++ support is enabled.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/flac/flac.mk

index 880c176f6ef63bcf20b7f69fe2f1397ca661aeb6..9aa00b7ffdb4a04d85620485d7ec54990f24b9e7 100644 (file)
@@ -17,7 +17,7 @@ FLAC_CPE_ID_VENDOR = flac_project
 FLAC_AUTORECONF = YES
 
 FLAC_CONF_OPTS = \
-       --disable-cpplibs \
+       $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \
        --disable-xmms-plugin \
        --disable-altivec