This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9 (commit)
      from  21cffd15fbf2adbf7bd948260be0ac95b12bd510 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3e68aa1ac68c0b1154aa1977b13e40fd6fc8e9e9
Author: Ralf Wildenhues <[email protected]>
Date:   Fri Aug 6 21:41:11 2010 +0200

    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 <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    6 ++++++
 tests/ltdl-libdir.at |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a435d6d..d2634e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-06  Ralf Wildenhues  <[email protected]>
+
+       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  <[email protected]>
 
        Let `libtool' without arguments point to `--help' again.
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index 432d18e..f5dc33c 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;


hooks/post-receive
-- 
GNU Libtool

Reply via email to