[pkg-kde-talk] kdevelop3 : updating libtool scripts
Jeremy Laine
jeremy.laine at m4x.org
Thu Jan 19 12:02:40 UTC 2006
I have written a new version of the script which reads symbols straight
from the libraries using "nm" and which fixes the Makefile.am files
automatically.
To use it you would run:
<yourproject>/obj-i486-linux-gnu$ fix-missing-libs.pl ../
It works like this:
1/ try going as far a possible in the build (make -k), and make a note
of the missing symbols for each .la target
2/ if there are missing symbols, figure out what libraries are missing,
patch the Makefile.am files
3/ if there were no missing symbols or if we were unable to figure out
how to patch the Makefile.am files, stop here, otherwise go back to 1/
For KDevelop, the process ends after 4 runs (i.e the Makefile.am's need
to be patched 3 times).
For a simpler package (like kdesvn), the process after 2 runs (i.e the
Makefile.am's need to be patched only once).
You can get the script from http://dev.jerryweb.org/fixlibs/
Any comments / suggestions are welcome!
Cheers,
Jeremy
--
http://www.jerryweb.org/ : JerryWeb.org
http://sailcut.sourceforge.net/ : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software
More information about the pkg-kde-talk
mailing list