[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unexpected emergence of --whole-archive
From: |
Matěj Týč |
Subject: |
Re: unexpected emergence of --whole-archive |
Date: |
Sun, 15 Mar 2009 20:20:19 +0100 |
> In the directory /home/bubla/projects/devil_modular/lib/ you have a
> libjpeg.la file. This is not the jpeg module that you are creating, it
> is a different library. libtool finds this when you pass -ljpeg (not
> sure why, as there is no -L flag for that directory). This libjpeg.la is
> a libtool created file that instructs libtool that the libjpeg.a sitting
> next to it is a libtool convenience archive.
I am really impressed, you are right! That file was there, but it was
not created during that build, it is from earlier. The library has an
option to build stuff as modules or to compile it in using convenience
libraries.
Removing those has fixed the problem.
I am really grateful that you have helped me, many thanks, Peter!
Maybe one question towards libtool maintainers is left:
Is that detection of lib/libjpeg.la a desired behavior? I just pass
-ljpeg as an LDFLAGG, not as a LIBADD library...
Regards,
Matej
- unexpected emergence of --whole-archive, Matěj Týč, 2009/03/15
- Re: unexpected emergence of --whole-archive, Peter O'Gorman, 2009/03/15
- Re: unexpected emergence of --whole-archive, Matěj Týč, 2009/03/15
- Re: unexpected emergence of --whole-archive, Peter O'Gorman, 2009/03/15
- Re: unexpected emergence of --whole-archive,
Matěj Týč <=
- Re: unexpected emergence of --whole-archive, Ralf Wildenhues, 2009/03/16
- Re: unexpected emergence of --whole-archive, Matěj Týč, 2009/03/18
- libtool searches '.' by default (was: unexpected emergence of --whole-archive), Ralf Wildenhues, 2009/03/19
- Re: libtool searches '.' by default (was: unexpected emergence of --whole-archive), Matěj Týč, 2009/03/20