From c6342b975d644d943e23b02de92687e3870e7708 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 2 May 2019 00:37:05 +0100 Subject: [PATCH] =?UTF-8?q?tests:=20Don=E2=80=99t=20check=20for=20libdl=20?= =?UTF-8?q?on=20FreeBSD=20or=20NetBSD=20either?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As with commit c14ac90ed2347ef050ccc83ef6b7b183cec6d0e4, it isn’t needed and doesn’t exist. Signed-off-by: Philip Withnall Fixes: #1739 --- gio/tests/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 8030e5ae2..98e802ac6 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -140,13 +140,17 @@ if host_machine.system() != 'windows' } if have_rtld_next + # FIXME: This list will probably grow; see + # https://gitlab.gnome.org/GNOME/glib/issues/1739 + no_libdl_systems = ['freebsd', 'netbsd', 'openbsd'] + gio_tests += { 'gsocketclient-slow' : { 'depends' : [ shared_library('slow-connect-preload', 'slow-connect-preload.c', name_prefix : '', - dependencies: cc.find_library('dl', required: host_machine.system() != 'openbsd'), + dependencies: cc.find_library('dl', required: not no_libdl_systems.contains(host_machine.system())), install_dir : installed_tests_execdir, install: installed_tests_enabled, )