Commit e3840255 authored by unknown's avatar unknown
Browse files

Fixed misuse of automake _DEPENDENCIES item. It caused Make try to create

a bogus dependency "-lz" .


sql/Makefile.am:
  automake "_DEPENDENCIES" names seem only to strip out compiler flags when 
  it's automatically created.  Manually written dependencies must be clean.
parent 5b063712
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -30,12 +30,13 @@ libexec_PROGRAMS = mysqld
EXTRA_PROGRAMS =	gen_lex_hash
bin_PROGRAMS =		mysql_tzinfo_to_sql
gen_lex_hash_LDFLAGS =  @NOINST_LDFLAGS@
LDADD =			$(top_builddir)/vio/libvio.a \
SUPPORTING_LIBS =			$(top_builddir)/vio/libvio.a \
			$(top_builddir)/mysys/libmysys.a \
			$(top_builddir)/dbug/libdbug.a \
			$(top_builddir)/regex/libregex.a \
			$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@
mysqld_DEPENDENCIES=	@mysql_plugin_libs@ $(LDADD)
			$(top_builddir)/strings/libmystrings.a
mysqld_DEPENDENCIES=	@mysql_plugin_libs@ $(SUPPORTING_LIBS)
LDADD = $(SUPPORTING_LIBS) @ZLIB_LIBS@
mysqld_LDADD =		@MYSQLD_EXTRA_LDFLAGS@ \
			@pstack_libs@ \
			@mysql_plugin_libs@ \