From MAILER-DAEMON Wed Dec 19 05:23:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TlGnq-000782-98
	for mharc-libtool-commit@gnu.org; Wed, 19 Dec 2012 05:23:06 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41624)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TlGnn-00077c-NZ
	for libtool-commit@gnu.org; Wed, 19 Dec 2012 05:23:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TlGnl-0001Iu-J1
	for libtool-commit@gnu.org; Wed, 19 Dec 2012 05:23:03 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:32971)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TlGnl-0001In-Fj
	for libtool-commit@gnu.org; Wed, 19 Dec 2012 05:23:01 -0500
Received: from pekberg by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1TlGnk-0006Cz-NQ
	for libtool-commit@gnu.org; Wed, 19 Dec 2012 10:23:00 +0000
Date: Wed, 19 Dec 2012 10:23:00 +0000
Message-Id: <E1TlGnk-0006Cz-NQ@vcs.savannah.gnu.org>
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-342-g109bc05
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 34fe402efa1e969cf902cf7370e29564c005d508
X-Git-Newrev: 109bc05e0d356ab48cc363521b8cd0abc943a6f5
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2012 10:23:05 -0000

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  109bc05e0d356ab48cc363521b8cd0abc943a6f5 (commit)
       via  204b94605020eb347f92e825734ddf7f756a1ddb (commit)
      from  34fe402efa1e969cf902cf7370e29564c005d508 (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 109bc05e0d356ab48cc363521b8cd0abc943a6f5
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Wed Dec 19 11:20:28 2012 +0100

    libtool: Drop $LDFLAGS when invoking the toolchain
    
    m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [Solaris] <archive_cmds>: Drop
    $LDFLAGS as it is a user variable that is usually used when invoking
    libtool. As such, it should not be used by libtool when it invokes the
    toolchain as it contains options intended for libtool, not the
    toolchain. Fixes export.at and other tests that add -no-undefined to
    LDFLAGS.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>
    Tested-by: Richard Palo <richard.palo@baou.fr>

commit 204b94605020eb347f92e825734ddf7f756a1ddb
Author: Richard Palo <richard.palo@baou.fr>
Date:   Wed Dec 19 11:08:15 2012 +0100

    libtool: Add SONAME to the so when exporting explicit symbols on Solaris
    
    m4/libtool.m (_LT_LANG_CXX_CONFIG) [Solaris] <archive_expsym_cmds>: Feed
    -h $soname to the linker just as is done in archive_cmds.
    THANKS: Update.
    
    Copyright-paperwork-exempt: Yes
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 THANKS        |    1 +
 m4/libtool.m4 |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/THANKS b/THANKS
index ef617e4..1259cbf 100644
--- a/THANKS
+++ b/THANKS
@@ -165,6 +165,7 @@
   Rainer Tammer			tammer@tammer.net
   Ralf Menzel			menzel@ls6.cs.uni-dortmund.de
   Richard B. Kreckel		kreckel@ginac.de
+  Richard Palo			richard.palo@baou.fr
   Richard Purdie		rpurdie@rpsys.net
   Richard Sandiford		richards@transitive.com
   Robert Garron			Robert.Garron@Access3000.net
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 3cf14e7..cd6db4e 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -6755,9 +6755,9 @@ if test yes != "$_lt_caught_CXX_error"; then
 	    if test yes,no = "$GXX,$with_gnu_ld"; then
 	      _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+		  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when
@@ -6766,9 +6766,9 @@ if test yes != "$_lt_caught_CXX_error"; then
 	      else
 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
 	        # platform.
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
+	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
 	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -G -nostdlib $wl-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
+		  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 	        # Commands to make compiler produce verbose output that lists
 	        # what "hidden" libraries, object files and flags are used when


hooks/post-receive
-- 
GNU Libtool


