2 Illumos has dlsym(), let meson detect it.
4 diff -ur dav1d-0.9.2.orig/meson.build dav1d-0.9.2/meson.build
5 --- dav1d-0.9.2.orig/meson.build 2021-09-03 09:42:36.000000000 +0000
6 +++ dav1d-0.9.2/meson.build 2021-10-31 03:10:51.254571251 +0000
11 -if host_machine.system() == 'linux'
12 +if host_machine.system() == 'linux' or host_machine.system() == 'sunos'
13 libdl_dependency = cc.find_library('dl', required : false)
14 if cc.has_function('dlsym', prefix : '#include <dlfcn.h>', args : test_args, dependencies : libdl_dependency)
15 cdata.set('HAVE_DLSYM', 1)