[vlc-commits] configure: darwin: add stdlib arg to CXXFLAGS

Marvin Scholz git at videolan.org
Thu Mar 26 09:09:12 CET 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 11 02:14:44 2020 +0100| [801b92fdcaf418c7e4d4c5b42a9906e79ad063dd] | committer: Marvin Scholz

configure: darwin: add stdlib arg to CXXFLAGS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=801b92fdcaf418c7e4d4c5b42a9906e79ad063dd
---

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index eba2a92ff9..e5d3303c16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,8 +194,9 @@ case "${host_os}" in
     esac
 
     AX_APPEND_FLAG([-D_INTL_REDIRECT_MACROS], [CPPFLAGS])
+    AX_APPEND_FLAG([-stdlib=libc++], [CXXFLAGS])
     CFLAGS="${CFLAGS} -std=gnu11"
-    CXX="${CXX} -stdlib=libc++ -std=c++11"
+    CXX="${CXX} -std=c++11"
     OBJCFLAGS="${OBJCFLAGS} -std=gnu11 -Werror=partial-availability"
     LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names"
     VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])



More information about the vlc-commits mailing list