mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
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:
parent
21cffd15fb
commit
3e68aa1ac6
@ -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>
|
2010-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
Let `libtool' without arguments point to `--help' again.
|
Let `libtool' without arguments point to `--help' again.
|
||||||
|
@ -38,7 +38,9 @@ bindir=$prefix/bin
|
|||||||
mkdir $prefix $libdir $bindir
|
mkdir $prefix $libdir $bindir
|
||||||
|
|
||||||
AT_DATA([a.c],
|
AT_DATA([a.c],
|
||||||
[[
|
[[#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
int f (void)
|
int f (void)
|
||||||
{
|
{
|
||||||
return 42;
|
return 42;
|
||||||
|
Loading…
Reference in New Issue
Block a user