Reordering of Libs

Daniel Macks dmacks at
Thu Jan 22 08:05:14 PST 2009

On Thu, Jan 22, 2009 at 10:09:57AM -0500, Christopher Hulbert wrote:
> I searched the archive and found a few messages by 'bora.sahin at
>' on this topic, but never a response. I have a .pc file
> that has a library requiring linking in the fortran compiler's
> libraries. These are added with appropriate '-Bstatic' and -Bdynamic'
> flags to link in static versions of the compiler libraries. Running
> pkg-config --libs obviously reorders that line and messes that up. Is
> there an intentional reason for this, or just an implementation
> artifact?

This message:
that was quickly retracted:

Could you give us a sample .pc and what you expect vs what happens?


Daniel Macks
dmacks at

More information about the pkg-config mailing list