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\\`"

Which, under sh -x is processed as follows, note the final backslash.

+ archive_cmds=+ test . = .yes
+ echo -dynamiclib
+ archive_cmds=+ test -n "" -a x != x0.0
+ echo
+ archive_cmds=$CC \-dynamiclib $allow_undefined_flag -o $lib $libobjs 
+$deplibs$linkopts -install_name $rpath/$soname \

and when evaluated for cmds, gives the following, note the \" at the end.

+ 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.

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to