From 95af5a2ae99058e2c30c3a127e3e44c3f69b3e04 Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Mon, 21 Jun 2004 15:09:53 +0000 Subject: CoreAudio output driver: build fix for libtool 1.5 CVS patchset: 6724 CVS date: 2004/06/21 15:09:53 --- src/audio_out/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 + -- cgit v1.2.3