[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get 'libtool --tag CXX' to work



* Marc Espie wrote on Tue, Dec 06, 2005 at 08:27:47PM CET:
> The preserve_args fragment was missing, thus the generated relink commands
> were bogus.

I have applied this to branch-1-5.

Cheers,
Ralf

2005-12-07  Marc Espie  <espie_(_at_)_nerim_(_dot_)_net>

	* ltmain.in: Preserve both parts of `--tag TAG', for
	relink_command.

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.108
diff -u -r1.334.2.108 ltmain.in
--- ltmain.in	3 Dec 2005 08:34:11 -0000	1.334.2.108
+++ ltmain.in	7 Dec 2005 20:52:50 -0000
@@ -467,7 +467,11 @@
     preserve_args="$preserve_args $arg"
     ;;
 
-  --tag) prevopt="--tag" prev=tag ;;
+  --tag)
+    prevopt="--tag"
+    prev=tag
+    preserve_args="$preserve_args --tag"
+    ;;
   --tag=*)
     set tag "$optarg" ${1+"$@"}
     shift



Visit your host, monkey.org