[vlc-commits] contribs: Drop syslibroot link flag for contribs

David Fuhrmann git at videolan.org
Sat Mar 16 21:38:55 CET 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Mar 16 21:03:29 2019 +0100| [60b470b804f45bb99c60f814df4ff361ab391bb0] | committer: David Fuhrmann

contribs: Drop syslibroot link flag for contribs

This does not seem to be needed anymore if its passed over LDFLAGS,
passing isysroot is enough.

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

 extras/package/macosx/env.build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/env.build.sh b/extras/package/macosx/env.build.sh
index 5e2d29c3d6..ee422eecb3 100755
--- a/extras/package/macosx/env.build.sh
+++ b/extras/package/macosx/env.build.sh
@@ -100,7 +100,7 @@ vlcSetContribEnvironment() {
     export OBJCFLAGS="-Werror=partial-availability"
 
     export EXTRA_CFLAGS="-isysroot $SDKROOT -mmacosx-version-min=$MINIMAL_OSX_VERSION -DMACOSX_DEPLOYMENT_TARGET=$MINIMAL_OSX_VERSION"
-    export EXTRA_LDFLAGS="-Wl,-syslibroot,$SDKROOT -mmacosx-version-min=$MINIMAL_OSX_VERSION -isysroot $SDKROOT -DMACOSX_DEPLOYMENT_TARGET=$MINIMAL_OSX_VERSION"
+    export EXTRA_LDFLAGS="-isysroot $SDKROOT -mmacosx-version-min=$MINIMAL_OSX_VERSION -DMACOSX_DEPLOYMENT_TARGET=$MINIMAL_OSX_VERSION"
     export XCODE_FLAGS="MACOSX_DEPLOYMENT_TARGET=$MINIMAL_OSX_VERSION -sdk $SDKROOT WARNING_CFLAGS=-Werror=partial-availability"
 }
 



More information about the vlc-commits mailing list