[vlc-commits] macosx: Weak link MediaPlayer framework

David Fuhrmann git at videolan.org
Wed Oct 3 15:59:28 CEST 2018


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Oct  3 15:25:34 2018 +0200| [04ac949b131dfbc8a12dd5a6fc190475d6a93e59] | committer: David Fuhrmann

macosx: Weak link MediaPlayer framework

This framework was introduced in 10.12, and therefore is not available
in 10.11. This fixes module loading on 10.11.

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

 modules/gui/macosx/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/Makefile.am b/modules/gui/macosx/Makefile.am
index 03e8b89960..3be6795db7 100644
--- a/modules/gui/macosx/Makefile.am
+++ b/modules/gui/macosx/Makefile.am
@@ -18,7 +18,7 @@ libmacosx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)' \
 	-Wl,-framework,AVFoundation -Wl,-framework,CoreMedia -Wl,-framework,IOKit \
 	-Wl,-framework,AddressBook -Wl,-framework,WebKit -Wl,-framework,CoreAudio \
 	-Wl,-framework,SystemConfiguration -Wl,-framework,ScriptingBridge \
-	-Wl,-framework,QuartzCore -Wl,-framework,MediaPlayer
+	-Wl,-framework,QuartzCore -Wl,-weak_framework,MediaPlayer
 
 if HAVE_SPARKLE
 libmacosx_plugin_la_LDFLAGS += -Wl,-framework,Sparkle



More information about the vlc-commits mailing list