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



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 ?

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek rudy mif pg gda pl*


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