gio: tests, don't check for libdl on OpenBSD

libdl does not exist on OpenBSD and is not required as the
functionnality is provided in libc.
This commit is contained in:
Antoine Jacoutot 2019-04-27 18:45:45 +02:00
parent 63af8ed0ea
commit c14ac90ed2

View File

@ -147,7 +147,7 @@ if host_machine.system() != 'windows'
shared_library('slow-connect-preload', shared_library('slow-connect-preload',
'slow-connect-preload.c', 'slow-connect-preload.c',
name_prefix : '', name_prefix : '',
dependencies: cc.find_library('dl'), dependencies: cc.find_library('dl', required: host_machine.system() != 'openbsd'),
install_dir : installed_tests_execdir, install_dir : installed_tests_execdir,
install: installed_tests_enabled, install: installed_tests_enabled,
) )