libtool
[Top][All Lists]
Advanced

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

Re: Darwin and archive_cmds quoting


From: Christoph Pfisterer
Subject: Re: Darwin and archive_cmds quoting
Date: Fri, 13 Apr 2001 11:55:30 +0200

Kevin Ryde wrote:
On Darwin 1.3 with libtool 1.3d or the current cvs, the quoting of
archive_cmds provokes a warning about an unmatched ".  It comes
through to the generated libtool script as the following long line,

archive_cmds="\$CC \\`test .\$module = .yes && echo -bundle || echo -dynamiclib\\` \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$linkopts -install_name \$rpath/\$soname \\`test -n \\"\$verstring\\" -a x\$verstring != x0.0 && echo \$verstring\\`"
[...]
+ eval cmds="$CC \-dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname \"
./libtool: unmatched " [-1]

This doesn't seem to hinder the generated shared library, but perhaps
isn't the way it's meant to work.

I think the issue here is the quoting of the backticks. The patch I originally submitted used $( ... ) instead of ` ... ` to avoid problems...

-chrisp

--
chrisp a.k.a. Christoph Pfisterer   "Any sufficiently advanced
address@hidden - http://chrisp.de      bug is indistinguishable
PGP key & geek code available        from a feature."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]