[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get 'libtool --tag CXX' to work
- To: ports_(_at_)_openbsd_(_dot_)_org, libtool-patches_(_at_)_gnu_(_dot_)_org
- Subject: Re: get 'libtool --tag CXX' to work
- From: Ralf Wildenhues <Ralf_(_dot_)_Wildenhues_(_at_)_gmx_(_dot_)_de>
- Date: Wed, 7 Dec 2005 21:54:20 +0100
- Mail-followup-to: ports_(_at_)_openbsd_(_dot_)_org, libtool-patches_(_at_)_gnu_(_dot_)_org
- Organization: Department of Numerical Simulation, University of Bonn
* 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