mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-26 20:07:51 +02:00
Fix compilation on Android with the bionic C library
This commit is contained in:
@@ -113,7 +113,11 @@ _g_module_self (void)
|
||||
* are required on some systems.
|
||||
*/
|
||||
|
||||
#ifdef __BIONIC__
|
||||
handle = RTLD_DEFAULT;
|
||||
#else
|
||||
handle = dlopen (NULL, RTLD_GLOBAL | RTLD_LAZY);
|
||||
#endif
|
||||
if (!handle)
|
||||
g_module_set_error (fetch_dlerror (TRUE));
|
||||
|
||||
|
Reference in New Issue
Block a user