[Buildroot] [git commit branch/2021.05.x] package/flac: enable building of libFLAC++

Peter Korsgaard peter at korsgaard.com
Mon Jul 12 20:09:49 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=77cdd655316bce9989b276fd79e45bc3f4a7ce08
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.05.x

Besides libFLAC, also build libFLAC++ when C++ support is enabled.

Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 4937dda8935b671b6f2a9f42e1ebea9912c67351)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/flac/flac.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/flac/flac.mk b/package/flac/flac.mk
index 880c176f6e..9aa00b7ffd 100644
--- a/package/flac/flac.mk
+++ b/package/flac/flac.mk
@@ -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
 



More information about the buildroot mailing list