npapi-vlc | branch: master | Felix Paul Kühne <[email protected]> | Tue Jan 28 18:36:36 2014 +0100| [47a691ac7cf77c14442b5e04918f9e15adba78ed] | committer: Felix Paul Kühne
extras/mac: fix linking and compilation for older OS X releases > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=47a691ac7cf77c14442b5e04918f9e15adba78ed --- extras/macosx/build-plugin.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/extras/macosx/build-plugin.sh b/extras/macosx/build-plugin.sh index d666c49..3c8fc04 100755 --- a/extras/macosx/build-plugin.sh +++ b/extras/macosx/build-plugin.sh @@ -84,11 +84,12 @@ builddir=`pwd` info "Building in \"$builddir\"" -export CC="xcrun clang" -export CXX="xcrun clang++" -export OBJC="xcrun clang" -export OBJCXX="xcrun clang++" -export CFLAGS="-isysroot ${SDKROOT} -mmacosx-version-min=${MINIMAL_OSX_VERSION}" +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 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}" + 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" _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
