From a027451bbdb321d5a09df3aa0f9a99a5e07def04 Mon Sep 17 00:00:00 2001
From: andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 25 May 2007 19:26:27 +0000
Subject: [PATCH] 2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>

	* ltmain.sh: Fix Darwin verstring, remove ${wl}.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125066 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog | 4 ++++
 ltmain.sh | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 90abd2b0f6a7..0e9312840649 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-25  Andreas Tobler  <a.tobler@schweiz.org>
+
+	* ltmain.sh: Fix Darwin verstring, remove ${wl}.
+
 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
 
 	* ltmain.sh: Update from ToT Libtool.
diff --git a/ltmain.sh b/ltmain.sh
index 606f090c1cf6..9d8441856208 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -4794,7 +4794,7 @@ func_mode_link ()
 	  versuffix="$major.$age.$revision"
 	  # Darwin ld doesn't like 0 for these options...
 	  minor_current=`expr $current + 1`
-	  verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
+	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
 	  ;;
 
 	freebsd-aout)
-- 
GitLab