ffmpeg: fix dependencies
[oi-userland.git] / components / encumbered / dav1d / patches / 01-meson-dlsym.patch
blobfbace3fc36bfd2a086ee9f6410b4a53baf46067a
1 Illumos has dlsym(), let meson detect it.
3 --- dav1d-1.5.0/meson.build.orig 2024-10-18 01:02:57.000000000 +0200
4 +++ dav1d-1.5.0/meson.build 2024-11-16 13:33:35.261561302 +0100
5 @@ -190,7 +190,7 @@
7 libdl_dependency = []
8 have_dlsym = false
9 -if host_machine.system() == 'linux'
10 +if host_machine.system() == 'linux' or host_machine.system() == 'sunos'
11 libdl_dependency = cc.find_library('dl', required : false)
12 have_dlsym = cc.has_function('dlsym', prefix : '#include <dlfcn.h>', args : test_args, dependencies : libdl_dependency)
13 endif