Skip to content
Snippets Groups Projects
Commit 87b88369 authored by Martin Finkel's avatar Martin Finkel Committed by Jean-Baptiste Kempf
Browse files

build: fix --enable-shared vout linking error on iOS

Fixes Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_NSNumber", referenced from:
      objc-class-ref in libsamplebufferdisplay_plugin_la-VLCSampleBufferDisplay.o
parent ab520205
No related branches found
No related tags found
1 merge request!4286build: fix --enable-shared vout linking error on iOS
Pipeline #390197 passed with stage
in 15 minutes and 8 seconds
......@@ -82,7 +82,7 @@ libsamplebufferdisplay_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
-Wl,-framework,AVFoundation,-framework,AVKit,-framework,Cocoa,-framework,CoreMedia,-framework,QuartzCore,-framework,CoreGraphics,-framework,CoreVideo
else
libsamplebufferdisplay_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' \
-Wl,-framework,AVFoundation,-framework,AVKit,-framework,UIKit,-framework,CoreMedia,-framework,QuartzCore,-framework,CoreGraphics,-framework,CoreVideo
-Wl,-framework,AVFoundation,-framework,Foundation,-framework,AVKit,-framework,UIKit,-framework,CoreMedia,-framework,QuartzCore,-framework,CoreGraphics,-framework,CoreVideo
endif
vout_LTLIBRARIES += libsamplebufferdisplay_plugin.la
endif
......
......@@ -34,7 +34,7 @@ vlc_modules += {
'../../codec/vt_utils.h'
),
'objc_args' : ['-fobjc-arc'],
'dependencies' : [avfoundation_dep, avkit_dep, uifwk_dep, coremedia_dep, quartz_dep, corevideo_dep, coregraphics_dep],
'dependencies' : [avfoundation_dep, foundation_dep, avkit_dep, uifwk_dep, coremedia_dep, quartz_dep, corevideo_dep, coregraphics_dep],
}
if have_ios or have_tvos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment