Hi Rafal,
Rafal Somla, 30.09.2008 14:54:
>...
> I think it would be nicer to use the library, instead of compiling
> library sources. That is:
>
> mysqlbackup_SOURCES = mysqlbackup.cc
>
> mysqlbackup_LDADD = $(LDADD) $(CXXLDFLAGS)
> $(top_stcdir)/sql/backup/libbackupstream.la
I tried it. It failed on a fresh rebuild. client/ is built before
sql/backup/. So the library is missing when mysqlbackup is linked. I am
not sure if reversing the order would be a good idea.
We do probably need to split libbackupstream out of sql/backup/ and
build it before client/.
Or we don't build mysqlbackup with the clients, but in sql/backup/.
Regards
Ingo
--
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring HRB München 161028