diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-08-06 21:41:11 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-08-06 21:41:11 +0200 |
commit | 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (patch) | |
tree | 30ac8f5e763b8332f71597a6199f6b8434e122f6 /tests/ltdl-libdir.at | |
parent | 21cffd15fbf2adbf7bd948260be0ac95b12bd510 (diff) | |
download | libtool-3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9.tar.gz |
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>
Diffstat (limited to 'tests/ltdl-libdir.at')
-rw-r--r-- | tests/ltdl-libdir.at | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index 432d18e4..f5dc33ce 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -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; |