[haiku-development] Re: libtool .la files contain package names and versions

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Sat, 2 May 2015 14:27:32 +1200

On Saturday, 2 May 2015, François Revol <revol@xxxxxxx> wrote:

On 02/05/2015 04:05, François Revol wrote:
On 02/05/2015 03:52, François Revol wrote:

I tried to write a helper function, wasn't easy as the devel~ symlink
are missing when handling indirect dependencies (like, libpng from
freetype from sdl_ttf), and the lib~ names aren't always exactly
matching the .la filenames either (case or extra number like libSDL or
libpng16...).

I managed to get fixLibtoolArchives working with sdl_ttf and sdl_mixer.
It leaves incorrect -L args but they don't seem to be useful anyway.


Hmm looks like it fails with libxslt in libexslt.la which references
libxslt.la :-(

I just let it continue there and it seems to work.


I think the right way forward is to have haikuporter automatically delete
the la files.

Other related posts: