Re: [gnome-db] Re: libgda/libgnomedb 1.1.99 released



On Mon, 2004-10-11 at 10:06 +0200, Tomasz Kłoczko wrote:
> On Mon, 11 Oct 2004, Rodrigo Moya wrote:
> [..]
> >>  sql_parser_test_SOURCES=sql_parser_test.c
> >>  sql_parser_test_LDFLAGS = $(LIBGDA_LIBS)
> >> -sql_parser_test_DEPENDENCIES =
> >> -sql_parser_test_LDADD = $(top_builddir)/libsql/libgdasql.la
> >> +sql_parser_test_LDADD = libgdasql.la
> >>
> > the $(top_builddir)... part is needed for 'make dist', so should not be
> > removed.
> 
> Probably because you are using old/buggy automake :o)
> On automake 1.9.[12] works correctly but without this linking test program 
> on "make -jN" is started before finish libgdasql.la 
> (in current version sql_parser_test_DEPENDENCIES is *empty*).
> 
> Probably partial fix can be prepared by:
> 
> sql_parser_test_LDADD = $(top_builddir)/libsql/libgdasql.la
> sql_parser_test_DEPENDENCIES = libgdasql.la
> 
> but IMO this only dirty (read: can be removed in future) workaroud 
> because:
> 
> foo_LDADD = bar.la
> 
> allways means:
> 
> foo_DEPENDENCIES = bar.la
> 
> What hapens on "make dist" with not full path to libgdasql.la ?
> 
works correctly in that case IIRC, although there I don't use -j x, so
might be still needed to have your fix.
-- 
Rodrigo Moya <rodrigo gnome-db org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]