]> git.ipfire.org Git - thirdparty/libtool.git/commit
Allow dlopen self test to work with gcc's -fvisibility=hidden.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Sep 2009 19:27:08 +0000 (21:27 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 8 Sep 2009 18:03:54 +0000 (20:03 +0200)
commitb03736353b6d478a68bfc19c017605eb21a3edce
treee00c318332fc75cd96d8d56014a2e2cf38bc51de
parent1e4e1984b07e4ce21f421b45854b846a93a12128
Allow dlopen self test to work with gcc's -fvisibility=hidden.

* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Declare default
visibility for the symbol we are going to test dlopen (NULL)
when a GCC version is used that understands the visibility
attribute, under the assumption that if -fvisibility=hidden
will be used, the user code will be sufficiently annotated
for visibility of needed symbols from the main executable.
* THANKS: Update.
Report by Josh Hursey against OpenMPI.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
libltdl/m4/libtool.m4