Fix ltdl-libdir test for C++ compilers.

* tests/ltdl-libdir.at (libdir of installed modules): Declare
module function as extern "C".

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2010-08-06 21:41:11 +02:00
parent 21cffd15fb
commit 3e68aa1ac6
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-08-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix ltdl-libdir test for C++ compilers.
* tests/ltdl-libdir.at (libdir of installed modules): Declare
module function as extern "C".
2010-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Let `libtool' without arguments point to `--help' again.

View File

@ -38,7 +38,9 @@ bindir=$prefix/bin
mkdir $prefix $libdir $bindir
AT_DATA([a.c],
[[
[[#ifdef __cplusplus
extern "C"
#endif
int f (void)
{
return 42;