diff --git a/tests/meson.build b/tests/meson.build index 196edbfa..732e5b1b 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -44,8 +44,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(