[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Library collision
From: |
Ralf Wildenhues |
Subject: |
Re: Library collision |
Date: |
Wed, 14 Feb 2007 17:43:41 +0100 |
User-agent: |
Mutt/1.5.13 (2007-02-12) |
Hello Jeff,
* Jeff Safier wrote on Wed, Feb 14, 2007 at 05:16:55PM CET:
> I have two libraries (from an existing Windows app) that have been
> converted to LINUX static libraries
> It seems that each library calls a function from the other library.
Which is unclean design, but oh well.
> I noticed that the library order in my Makefile.am needs to be
> order dependent, meaning if a library calls another libraries functions
> the calling libray must be first in the list. Is this neccesarily true,
> or am I doing something wrong.
This is how Unix link editors work, yes.
> Is there a way to disable the order dependency so the above scenario
> will work.
list one twice, before and after the other:
prog_LDADD = libA.a libB.a libA.a
Hope that helps.
Cheers,
Ralf