Bug #20227 @ZLIB_LIBS@ should not be in mysqld_DEPENDANCIES
Submitted: 2 Jun 2006 14:58 Modified: 1 Jan 2007 9:19
Reporter: Domas Mituzas Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.1-bk@1.2176 OS:MacOS (MacOSX 10.4.5)
Assigned to: Chad MILLER CPU Architecture:Any

[2 Jun 2006 14:58] Domas Mituzas

mysqld_DEPENDENCIES=    @mysql_plugin_libs@ $(LDADD)


LDADD =                 ...
                        $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@

As ZLIB_LIBS is '-lz' sometimes, using it in DEPENDENCIES section breaks build. 

How to repeat:

Suggested fix:
do not use LDADD for mysqld_DEPENDENCIES target
[1 Jan 2007 9:19] Kent Boortz
This was corrected in 5.1.13-beta