[vlc-devel] [PATCH 2/2] video_output: Makefile.am: link vout_ios to Foundation
Alexandre Janniaux
ajanni at videolabs.io
Mon May 4 11:44:31 CEST 2020
Fixes the following undefined references:
"_OBJC_CLASS_$_NSNotificationCenter", referenced from:
objc-class-ref in ios.o
"_OBJC_CLASS_$_NSThread", referenced from:
objc-class-ref in ios.o
"_OBJC_CLASS_$_NSValue", referenced from:
objc-class-ref in ios.o
---
modules/video_output/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 4fd34f2737d..dd64a0680d6 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -70,7 +70,7 @@ libvout_ios_plugin_la_SOURCES = video_output/ios.m $(OPENGL_COMMONSOURCES)
libvout_ios_plugin_la_CFLAGS = $(AM_CFLAGS) $(OPENGL_COMMONCFLAGS) -DUSE_OPENGL_ES2
libvout_ios_plugin_la_LIBADD = $(OPENGL_COMMONLIBS)
libvout_ios_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
- -Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit
+ -Wl,-framework,Foundation,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit
if HAVE_IOS
vout_LTLIBRARIES += libvout_ios_plugin.la libglinterop_cvpx_plugin.la
endif
--
2.26.2
More information about the vlc-devel
mailing list