libtool
[Top][All Lists]
Advanced

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

Re: libtool 1.4.2 on Darwin


From: Christoph Egger
Subject: Re: libtool 1.4.2 on Darwin
Date: Wed, 9 Oct 2002 00:03:07 +0200 (MEST)

> In regard to: Re: libtool 1.4.2 on Darwin, Christoph Egger said (at
> 11:26pm...:
> 
> >Ok, here we come: I just did 2)
> >The fix is replacing this line
> >
> >archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle ||
> >echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs
> >$deplibs$linker_flags -install_name $rpath/$soname $verstring'
> >
> >by this one:
> >
> >archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo
> >-dynamiclib) $allow_undefined_flag -o $lib $
> >libobjs $deplibs$linker_flags $(test .$module = .yes || echo
> -install_name
> >$rpath/$soname) $verstring'
> 
> I can understand the change for quotes, but why the change from x$module
> and xyes to .$module and .yes?  Is that really necessary?  What about
> other parts of libtool that use x$var = x<foo>.  If possible, keeping it
> consistent would be best.

The reason is simply:

At line 2075 I found this line:

library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes
&& echo so || echo dylib) ${libname}${r
elease}${major}.$(test .$module = .yes && echo so || echo dylib)
${libname}.$(test .$module = .yes && echo so || echo
 dylib)'

This tests $module against a value, which worked. So I solved the quoting
issue by going the same way. :)

-- 
CU,

Christoph Egger
E-Mail: address@hidden

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!





reply via email to

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