X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=meson.build;h=be007953c8b8597491e792219d070f9ef96bc091;hb=34b3e1f5121ee532a1eb087e9b08c3d15e16cc9d;hp=edb49e0fe7c57084a47bd2862079c1ccebccaf48;hpb=c97af23b13c55c27f5fe381793ee9a3d6f3a2280;p=mesa.git diff --git a/meson.build b/meson.build index edb49e0fe7c..be007953c8b 100644 --- a/meson.build +++ b/meson.build @@ -1206,7 +1206,7 @@ if not ['linux'].contains(host_machine.system()) endif endif -foreach h : ['xlocale.h', 'linux/futex.h', 'endian.h', 'dlfcn.h', 'execinfo.h', 'sys/shm.h', 'cet.h'] +foreach h : ['xlocale.h', 'linux/futex.h', 'endian.h', 'dlfcn.h', 'execinfo.h', 'sys/shm.h', 'cet.h', 'pthread_np.h'] if cc.check_header(h) pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify()) endif @@ -1853,6 +1853,12 @@ if dep_dl.found() gl_priv_libs += '-ldl' endif +# FIXME: autotools lists this as incomplete +gbm_priv_libs = [] +if dep_dl.found() + gbm_priv_libs += '-ldl' +endif + pkg = import('pkgconfig') if host_machine.system() == 'windows'