[csw-maintainers] libtool .la irritations
Mike Watters
mwatters at opencsw.org
Fri Mar 27 04:49:32 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Philip Brown wrote:
> On Thu, Mar 26, 2009 at 10:26:09PM -0500, Mike Watters wrote:
>>> what does "the old one" do, and how would you describe what fixme.sh does,
>>> in contrast?
>> the current one in gar/bin Cory Omand wrote.
>> "fixlibtool - remove build-only settings from libtool .la files
>> ...
>> Remove references to temporary directories"
>>
>> fixme.sh
>> "...modifies the Makefile replacing the *.la references with their -lname (generated from data inside the
>> pseudo-library). it then modifies the libtool script(s) in $(WORKSRC) removing the .la extension from the library search."
>
> Hmmm. still not sure what the older one does, from that :)
>
> if you understand it... is it of value still?
>
> might it be worth merging the two, having some kind of commandline switch
> to toggle the behaviour, and keeping the name "fixlibtool"?
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
this is what the original one does:
[ ==> Begin Code <== ]
perl -i -plne '
if (/^dependency_libs/) {
s# -[ILR]\s*/tmp\S+##g;
s# -[ILR]\s*/\S+/ # #g;
}
' $@
[ ==> End Code <== ]
I don't find any reference to it in the gar/v2 files.
I have to defer to the other maintainers if anyone still uses this script.
and what they use it for.
- --
Thanks,
Mike
"Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
* Albert Einstein 1879 - 1955
US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAknMTMsACgkQLrhmsXMSLxfabwCgrfLGf9vh8QopbpDlUqE1v/t1
vbYAoNyfY/CRQKUK5qjLcQRZgikj5gIy
=5OeS
-----END PGP SIGNATURE-----
More information about the maintainers
mailing list