glib/gmodule
Sebastian Dröge 0d81bb4e31 gmodule – Don't use RTLD_DEFAULT on Android for g_module_self() on Android 64 bit
On 64 bit Android this is #defined to 0, which is considered an invalid
library handle in all other cases. RTLD_DEFAULT is only supposed to be
used with dlsym() it seems, and the usage here was just an
"optimization" before.

By dlopen'ing NULL, we get the same on all 64 bit Android variants and it
actually works instead of erroring out. On 32 bit Android, dlopen() of
NULL unfortunately usually gives us something useless that finds no
symbols whatsoever.

https://bugzilla.gnome.org/show_bug.cgi?id=776876
2017-05-09 15:58:15 +02:00
..
.gitignore improve gitignore 2010-01-28 22:43:51 -05:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
ChangeLog Update README files to refer to git 2009-03-31 19:39:16 -04:00
COPYING initial import of gmodule. 1998-08-09 08:32:18 +00:00
gmodule-ar.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gmodule-dl.c gmodule – Don't use RTLD_DEFAULT on Android for g_module_self() on Android 64 bit 2017-05-09 15:58:15 +02:00
gmodule-dyld.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gmodule-win32.c Updated FSF's address 2014-01-31 14:31:55 +01:00
gmodule.c gmodule: Remove old win32 codepage ABI compat code 2017-04-06 19:25:29 +02:00
gmodule.h gmodule: Remove old win32 codepage ABI compat code 2017-04-06 19:25:29 +02:00
gmodule.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
gmoduleconf.h.in Updated FSF's address 2014-01-31 14:31:55 +01:00
gmoduleconf.h.win32 Updated FSF's address 2014-01-31 14:31:55 +01:00
Makefile.am win32: fixup lib.exe invocation 2014-02-15 16:55:25 -05:00
makefile.msc.in adapt to gmodule.symbols usage 2008-08-01 14:17:43 +00:00