[vlc-commits] fluidsynth: fix linking on osx
David Fuhrmann
git at videolan.org
Sun Dec 8 22:09:43 CET 2013
vlc/vlc-2.1 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Dec 7 10:41:39 2013 +0100| [87b457f182e5fb4d2519ce12c62d4df8297e9882] | committer: Felix Paul Kühne
fluidsynth: fix linking on osx
(manual backport of 62f25ef1c0180f307a50837e12e5fab358e29275)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=87b457f182e5fb4d2519ce12c62d4df8297e9882
---
modules/codec/Modules.am | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/modules/codec/Modules.am b/modules/codec/Modules.am
index a93dac7..1d5a858 100644
--- a/modules/codec/Modules.am
+++ b/modules/codec/Modules.am
@@ -41,7 +41,6 @@ SOURCES_cvdsub = cvdsub.c
SOURCES_sdl_image = sdl_image.c
SOURCES_zvbi = zvbi.c
SOURCES_cdg = cdg.c
-SOURCES_fluidsynth = fluidsynth.c
SOURCES_cc = cc.c cc.h substext.h
SOURCES_kate = kate.c
SOURCES_schroedinger = schroedinger.c
@@ -211,3 +210,14 @@ if HAVE_ANDROID
libvlc_LTLIBRARIES += libiomx_plugin.la libmediacodec_plugin.la
endif
+## fluidsynth ##
+libfluidsynth_plugin_la_SOURCES = fluidsynth.c
+libfluidsynth_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_fluidsynth)
+libfluidsynth_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_fluidsynth)
+libfluidsynth_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_fluidsynth)
+if HAVE_DARWIN
+libfluidsynth_plugin_la_LDFLAGS += -Wl,-framework,CoreFoundation,-framework,CoreServices
+endif
+
+libvlc_LTLIBRARIES += $(LTLIBfluidsynth)
+EXTRA_LTLIBRARIES += libfluidsynth_plugin.la
More information about the vlc-commits
mailing list