[vlc-devel] [PATCH 3/3] contrib: Fix wrong deployment target on macOS

Marvin Scholz epirat07 at gmail.com
Sat Oct 29 14:58:20 CEST 2016


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.
---
 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
 
-- 
2.8.4 (Apple Git-73)



More information about the vlc-devel mailing list