[glib: 1/3] gmodule: use dl implementation on macOS



commit e2409e5e180f1fa369d0e87e38e4d646d9f68791
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]