[vlc-commits] video_output: Makefile.am: link vout_ios to Foundation

Alexandre Janniaux git at videolan.org
Tue May 19 16:20:57 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Mon May  4 11:44:31 2020 +0200| [cae3718f4ddf1b80eba29e05cad95e1da8f45519] | committer: Alexandre Janniaux

video_output: Makefile.am: link vout_ios to Foundation

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cae3718f4ddf1b80eba29e05cad95e1da8f45519
---

 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 8e7bdf36fb..07ae276871 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



More information about the vlc-commits mailing list