diff options
author | Tom Schoonjans <Tom.Schoonjans@diamond.ac.uk> | 2019-09-06 15:26:28 +0100 |
---|---|---|
committer | Tom Schoonjans <Tom.Schoonjans@diamond.ac.uk> | 2019-09-06 15:27:04 +0100 |
commit | e2409e5e180f1fa369d0e87e38e4d646d9f68791 (patch) | |
tree | 9189cb58ad2b279d8a930110ca8df085815e8e9e /gmodule | |
parent | 963749da61c0d3641f63dec45f1c755b65966313 (diff) | |
download | glib-e2409e5e180f1fa369d0e87e38e4d646d9f68791.tar.gz |
gmodule: use dl implementation on macOS
Closes #1887
Diffstat (limited to 'gmodule')
-rw-r--r-- | gmodule/meson.build | 4 |
1 files 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 |