glib/gmodule
Justin Kim 7e70dd88c9 gmodule: Use RTLD_DEFAULT if defined __BIONIC__
This is a partial change of the previous work[0].
On 64 bit Android since android-23, 'handle = dlopen(NULL); dlsym(handle)'
doesn't work. Instead, only 'dlsym(RTLD_DEFAULT)' returns a valid pointer.

However, RTLD_DEFAULT is defined as '(void *) 0x0' on 64bit Android which
is usually used for invalid value so this patch allows the specific case.

[0] 0d81bb4e31

https://bugzilla.gnome.org/show_bug.cgi?id=788270
2017-10-06 21:09:47 +03:00
..
.gitignore build: Drop nmake/MSC build system for GLib 2017-07-10 11:22:40 +01: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 gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule-ar.c gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule-dl.c gmodule: Use RTLD_DEFAULT if defined __BIONIC__ 2017-10-06 21:09:47 +03:00
gmodule-dyld.c gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule-win32.c gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule.c gmodule: Use RTLD_DEFAULT if defined __BIONIC__ 2017-10-06 21:09:47 +03:00
gmodule.h gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmodule.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
gmoduleconf.h.in gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
gmoduleconf.h.win32 gmodule/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
Makefile.am build: Drop nmake/MSC build system for GLib 2017-07-10 11:22:40 +01:00
meson.build meson: add -fvisibility=hidden explicitly to selected targets 2017-07-13 19:03:39 -04:00