Bug #18273 yassl not added to libmysql builddeps, though linked to
Submitted: 16 Mar 2006 8:33 Modified: 31 Mar 2006 23:24
Reporter: Domas Mituzas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.0-bk, 5.1-bk OS:Linux (Linux, MacOSX)
Assigned to: Kent Boortz CPU Architecture:Any

[16 Mar 2006 8:33] Domas Mituzas
Description:
yassl libraries are not added to libmysql (and other) build dependancies in Makefiles, therefore if yassl is relinked, libmysql is not (and parallel builds may fail).

How to repeat:
touch yassl files, make 

Suggested fix:
add dependancies in autostuff
[31 Mar 2006 23:24] Kent Boortz
Solved this one by listing the yaSSL *.la files in the Makefile.am,
and use the variable set in AM_CONDITIONAL() to conditionally
add these files to the libmysql_la_LIBADD variable. This enables
automake to conditionally add dependency to these libraries.

This is actually a more general problem with how conditional objects
and libraries are handled, i.e. other dependencies are also missing
because automake can't determine what the objects are.
[31 Mar 2006 23:25] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/4378