vlc | branch: master | Marvin Scholz <[email protected]> | Sat Oct 29 14:57:30 
2016 +0200| [feab01c687065c9215a0d316d4ba937aa58cb784] | committer: Marvin 
Scholz

contrib: Fix wrong deployment target on macOS

This adds MACOSX_DEPLOYMENT_TARGET (which will be set to the value of
the MIN_OSX_VERSION variable) so contribs that only use xcodebuild
(like BGHUDKit) will use the correct deployment target.

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

 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index e18bddc..cab32d1 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -123,7 +123,7 @@ EXTRA_CFLAGS += -m32
 EXTRA_LDFLAGS += -m32
 endif
 
-XCODE_FLAGS = -sdk macosx$(OSX_VERSION) -arch $(ARCH)
+XCODE_FLAGS = MACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) -sdk 
macosx$(OSX_VERSION) -arch $(ARCH)
 
 endif
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to