[vlc-commits] macos: Fix build

Hugo Beauzée-Luyssen git at videolan.org
Mon May 11 20:35:30 CEST 2015


npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon May 11 20:34:31 2015 +0200| [19420b84fa352c6971da35e1c8540455897f2eaf] | committer: Hugo Beauzée-Luyssen

macos: Fix build

Attempt #3

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=19420b84fa352c6971da35e1c8540455897f2eaf
---

 extras/macosx/build-plugin.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/extras/macosx/build-plugin.sh b/extras/macosx/build-plugin.sh
index 1dba4fe..632190a 100755
--- a/extras/macosx/build-plugin.sh
+++ b/extras/macosx/build-plugin.sh
@@ -85,10 +85,10 @@ builddir=`pwd`
 info "Building in \"$builddir\""
 
 export CC="xcrun clang -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}"
-export CXX="xcrun clang++ -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}"
+export CXX="xcrun clang++ -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION} -stdlib=libc++"
 export OBJC="xcrun clang -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}"
-export OBJCXX="xcrun clang++ -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}"
-export LD="xcrun ld -syslibroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION} -stdlib=c++11"
+export OBJCXX="xcrun clang++ -isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION} -stdlib=libc++"
+export LD="xcrun ld -syslibroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}"
 
 export PATH="${npapiroot}/extras/macosx/vlc/extras/tools/build/bin:${npapiroot}/extras/macosx/vlc/contrib/${ARCH}-apple-darwin10/bin:$PATH"
 export PKG_CONFIG_PATH="${npapiroot}/extras/macosx/vlc/${ARCH}-install/lib/pkgconfig"



More information about the vlc-commits mailing list