[vlc-devel] [PATCH 4/4] codec/fluidsynth: fixed linking on Darwin

Felix Paul Kühne fkuehne at videolan.org
Fri Nov 29 18:47:00 CET 2013


---
 modules/codec/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 12f9f4a..b74b15a 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -45,6 +45,9 @@ libfluidsynth_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
 libfluidsynth_plugin_la_LIBADD = $(FLUIDSYNTH_LIBS)
 EXTRA_LTLIBRARIES += libfluidsynth_plugin.la
 codec_LTLIBRARIES += $(LTLIBfluidsynth)
+if HAVE_DARWIN
+libfluidsynth_plugin_la_LDFLAGS += -Wl,-framework,CoreFoundation,-framework,CoreServices
+endif
 
 liblpcm_plugin_la_SOURCES = codec/lpcm.c
 codec_LTLIBRARIES += liblpcm_plugin.la
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list