[glib/glib-2-62: 1/3] gmodule: use dl implementation on macOS
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-62: 1/3] gmodule: use dl implementation on macOS
- Date: Sun, 8 Sep 2019 00:59:37 +0000 (UTC)
commit a18a4a6beef0fcfdffe509cd97b11ad460e86cc5
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date: Fri Sep 6 15:26:28 2019 +0100
gmodule: use dl implementation on macOS
Closes #1887
gmodule/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gmodule/meson.build b/gmodule/meson.build
index d38ad2df1..5fce96de1 100644
--- a/gmodule/meson.build
+++ b/gmodule/meson.build
@@ -13,12 +13,12 @@ if host_system == 'windows'
# dlopen() filepath must be of the form /path/libname.a(libname.so)
elif host_system == 'aix'
g_module_impl = 'G_MODULE_IMPL_AR'
+elif have_dlopen_dlsym
+ g_module_impl = 'G_MODULE_IMPL_DL'
# NSLinkModule (dyld) in system libraries (Darwin)
elif cc.has_function('NSLinkModule')
g_module_impl = 'G_MODULE_IMPL_DYLD'
g_module_need_uscore = 1
-elif have_dlopen_dlsym
- g_module_impl = 'G_MODULE_IMPL_DL'
endif
# additional checks for G_MODULE_IMPL_DL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]