Merge branch 'ps-devel-tests-meson-build-disable-nouveau-tests-for-static-build' into 'main'

tests/meson.build: disable nouveau tests for static build

See merge request mesa/libdrm!154
This commit is contained in:
Peter Seiderer 2026-04-12 00:37:22 +00:00
commit afaf5daf51

View file

@ -40,8 +40,12 @@ endif
if with_etnaviv
subdir('etnaviv')
endif
lib_type = get_option('default_library')
if with_nouveau
subdir('nouveau')
# the nouveau test uses dlsym() making it incompatible with static linking
if lib_type != 'static'
subdir('nouveau')
endif
endif
drmsl = executable(