[glib: 1/2] gio: tests, don't check for libdl on OpenBSD



commit c14ac90ed2347ef050ccc83ef6b7b183cec6d0e4
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Sat Apr 27 18:45:45 2019 +0200

    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.

 gio/tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index f13458181..5ee99bec7 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -147,7 +147,7 @@ if host_machine.system() != 'windows'
           shared_library('slow-connect-preload',
             'slow-connect-preload.c',
             name_prefix : '',
-            dependencies: cc.find_library('dl'),
+            dependencies: cc.find_library('dl', required: host_machine.system() != 'openbsd'),
             install_dir : installed_tests_execdir,
             install: installed_tests_enabled,
           )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]