From 6e3662953dfbe11b62a4873e74c48691d7f78dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Tue, 16 Jun 2015 20:46:54 -0300 Subject: [PATCH] (qb) Make C++ compiler optional in non-Win32 builds --- qb/config.comp.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qb/config.comp.sh b/qb/config.comp.sh index cd894adfb6..f0fcc84844 100644 --- a/qb/config.comp.sh +++ b/qb/config.comp.sh @@ -1,2 +1,7 @@ USE_LANG_C="yes" -USE_LANG_CXX="yes" + +# C++ compiler is optional in other platforms supported by ./configure +if [ "$OS" = 'Win32' ]; then + USE_LANG_CXX="yes" +fi +