[csw-maintainers] libtool .la irritations

Philip Brown phil at bolthole.com
Fri Mar 27 05:10:04 CET 2009


On Thu, Mar 26, 2009 at 10:49:32PM -0500, Mike Watters wrote:
> 
> 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 dont speak much perl, but I'm guessing what it does, is that it expects
to be passed a list of libXXX.la files, and then it goes in and edits them
to comment out all lines that say "dependancy_libs".


SO, while your "fixit"script works on the local source tree
(both internal .la files, AND makefiles), this script would appear to
work on .la files only?
(and only the ones specified?)

It might be nice to preserve that more targetted functionality, as an
option to your script.
Then you could feel good about taking over the name, too ;-)



More information about the maintainers mailing list