]> git.ipfire.org Git - thirdparty/libtool.git/commit
Implement lt_dlopening of only preloaded modules.
authorGary V. Vaughan <gary@gnu.org>
Fri, 1 Aug 2008 06:12:29 +0000 (13:12 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 1 Aug 2008 06:12:29 +0000 (13:12 +0700)
commit2c769d10a231a417fb1951304ff9509da658f3ba
treec4adcdcadc04d32c91ca13e9666a2d5c9d9dd482
parent84430a7251de8d999a22304dfdd52afd7ad3d998
Implement lt_dlopening of only preloaded modules.
* libltdl/m4/ltdl.m4 (LTDL_INIT): Check for a libltdl that
provides lt_dladvise_preopen when deciding if installed libltdl
is 'new enough'.
* libltdl/libltdl/lt__private.h (lt__advise): Add a new
is_preload flag.
* libltdl/ltdl.c (lt_dladvise_preload): New api call to set it.
(try_dlopen): If it is set, and the search of preloaded modules
didn't return a match, don't bother searching the filesystem.
* libltdl/ltdl.h (lt_dladvise_preload): Declare it.
* doc/libtool.texi (Libltdl Interface): Document it.
* tests/lt_dladvise.at: Test it (and incidentally add some test
coverage for `libtool -dlpreopen').
* NEWS: Announce it.
ChangeLog
NEWS
doc/libtool.texi
libltdl/libltdl/lt__private.h
libltdl/ltdl.c
libltdl/ltdl.h
libltdl/m4/ltdl.m4
tests/lt_dladvise.at