[vlc-devel] [PATCH 1/2] audio_output: Makefile.am: fix audiounit_ios link

Alexandre Janniaux ajanni at videolabs.io
Mon May 4 14:23:48 CEST 2020


Remove AudioUnit framework as it is not found on iOS and only
AudioToolbox is needed.

In addition CoreServices cannot be linked for the iOS/tvOS targets as it
is available starting with iOS/tvOS 12.0+.
---
 modules/audio_output/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/Makefile.am b/modules/audio_output/Makefile.am
index 4af4d78c5fc..7ed509e7346 100644
--- a/modules/audio_output/Makefile.am
+++ b/modules/audio_output/Makefile.am
@@ -110,7 +110,7 @@ endif
 libaudiounit_ios_plugin_la_SOURCES = audio_output/audiounit_ios.m \
 	audio_output/coreaudio_common.c audio_output/coreaudio_common.h
 libaudiounit_ios_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(aoutdir)' \
-	-Wl,-framework,CoreAudio,-framework,AudioUnit,-framework,AudioToolbox,-framework,CoreServices,-framework,UIKit,-framework,AVFoundation
+	-Wl,-framework,Foundation,-framework,CoreAudio,-framework,AudioToolbox,-framework,UIKit,-framework,AVFoundation
 if HAVE_IOS
 aout_LTLIBRARIES += libaudiounit_ios_plugin.la
 endif
-- 
2.26.2



More information about the vlc-devel mailing list