Re: libtool libraries requiring other libraries (solution)

2013-07-17 Thread Steffen Sledz
On 16.07.2013 17:47, Robert Boehne wrote: That said - It looks to me like you're not *using* libtool to do your linking. Libtool's la files contain all the dependencies that a library needs. This is a big help when using static archives because they need to have everything listed in the proper

Re: libtool libraries requiring other libraries

2013-07-17 Thread Diego Elio Pettenò
Okay, Robert already answered but... On 16/07/2013 15:56, Steffen Sledz wrote: FOO_LDFLAGS=-L$with_libfoo_path/lib -lfoo [...] progbar_LDFLAGS = $(FOO_LDFLAGS) This is simply wrong, whether or not it works after adding LT_INIT. -lfoo is a library not an LDFLAG. It should be passed to