summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Pang <athp@users.sourceforge.net>2004-06-21 15:09:53 +0000
committerAndre Pang <athp@users.sourceforge.net>2004-06-21 15:09:53 +0000
commit95af5a2ae99058e2c30c3a127e3e44c3f69b3e04 (patch)
tree3c7767af7a84f6a1b85fbec82e3ecc7495546c19
parenta2f6f8358f2a4be9c4d87acf2320fda2184de5a2 (diff)
downloadxine-lib-95af5a2ae99058e2c30c3a127e3e44c3f69b3e04.tar.gz
xine-lib-95af5a2ae99058e2c30c3a127e3e44c3f69b3e04.tar.bz2
CoreAudio output driver: build fix for libtool 1.5
CVS patchset: 6724 CVS date: 2004/06/21 15:09:53
-rw-r--r--src/audio_out/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/audio_out/Makefile.am b/src/audio_out/Makefile.am
index 7ec6e8972..1e0acfdff 100644
--- a/src/audio_out/Makefile.am
+++ b/src/audio_out/Makefile.am
@@ -100,5 +100,11 @@ xineplug_ao_out_directx_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYM
xineplug_ao_out_coreaudio_la_SOURCES = audio_coreaudio_out.c
xineplug_ao_out_coreaudio_la_LIBADD = $(XINE_LIB)
-xineplug_ao_out_coreaudio_la_LDFLAGS = -framework CoreAudio -framework AudioUnit -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
+# The "-Wl,-framework -Wl,..." is needed for libtool versions before
+# 1.5.x (1.257): the default version that ships with Mac OS X is 1.5 (1.1220)
+xineplug_ao_out_coreaudio_la_LDFLAGS = \
+ -Wl,-framework -Wl,Cocoa -framework CoreAudio \
+ -Wl,-framework -Wl,AudioUnit -framework AudioUnit \
+ -avoid-version -module @XINE_PLUGIN_MIN_SYMS@
xineplug_ao_out_coreaudio_la_CFLAGS = -framework CoreAudio -framework AudioUnit
+