Commit b0b60840 authored by unknown's avatar unknown

Makefile.am:

  Specify yaSSL .a file, not .la (bug#19966)
  Don't use Mac OS X "__.SYMDEF SORTED" file in archives


libmysqld/Makefile.am:
  Specify yaSSL .a file, not .la (bug#19966)
  Don't use Mac OS X "__.SYMDEF SORTED" file in archives
parent ce3dc8ba
...@@ -88,11 +88,11 @@ INC_LIB= $(top_builddir)/regex/libregex.a \ ...@@ -88,11 +88,11 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
$(top_builddir)/dbug/libdbug.a \ $(top_builddir)/dbug/libdbug.a \
$(top_builddir)/vio/libvio.a \ $(top_builddir)/vio/libvio.a \
@mysql_plugin_libs@ \ @mysql_plugin_libs@ \
$(yassl_las) $(yassl_inc_libs)
if HAVE_YASSL if HAVE_YASSL
yassl_las = $(top_srcdir)/extra/yassl/src/libyassl.la \ yassl_inc_libs= $(top_srcdir)/extra/yassl/src/.libs/libyassl.a \
$(top_srcdir)/extra/yassl/taocrypt/src/libtaocrypt.la $(top_srcdir)/extra/yassl/taocrypt/src/.libs/libtaocrypt.a
endif endif
# Storage engine specific compilation options # Storage engine specific compilation options
...@@ -135,12 +135,12 @@ else ...@@ -135,12 +135,12 @@ else
(for arc in ./libmysqld_int.a $(INC_LIB); do \ (for arc in ./libmysqld_int.a $(INC_LIB); do \
arpath=`echo $$arc|sed 's|[^/]*$$||'|sed 's|\.libs/$$||'`; \ arpath=`echo $$arc|sed 's|[^/]*$$||'|sed 's|\.libs/$$||'`; \
artmp=`echo $$arc|sed 's|^.*/|tmp/lib-|'`; \ artmp=`echo $$arc|sed 's|^.*/|tmp/lib-|'`; \
for F in `$(AR) t $$arc`; do \ for F in `$(AR) t $$arc | grep -v SYMDEF`; do \
if test -e "$$arpath/$$F" ; then echo "$$arpath/$$F"; else \ if test -e "$$arpath/$$F" ; then echo "$$arpath/$$F"; else \
mkdir $$artmp; cd $$artmp > /dev/null; \ mkdir $$artmp; cd $$artmp > /dev/null; \
$(AR) x ../../$$arc; \ $(AR) x ../../$$arc; \
cd $$current_dir > /dev/null; \ cd $$current_dir > /dev/null; \
ls $$artmp/*; \ ls $$artmp/* | grep -v SYMDEF; \
continue 2; fi; done; \ continue 2; fi; done; \
done; echo $(libmysqld_a_DEPENDENCIES) ) | sort -u | xargs $(AR) cq libmysqld.a ; \ done; echo $(libmysqld_a_DEPENDENCIES) ) | sort -u | xargs $(AR) cq libmysqld.a ; \
$(RANLIB) libmysqld.a ; \ $(RANLIB) libmysqld.a ; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment