mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#12985 Do-mysqlclient-test: Can't find -lyassl when linking
- Remove yassl_libsfrom CLIENT_LIBS var - Add yassl_libs to libmysql and libmysqld
This commit is contained in:
@ -16,6 +16,7 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
|
|||||||
AC_MSG_RESULT([using bundled yaSSL])
|
AC_MSG_RESULT([using bundled yaSSL])
|
||||||
yassl_dir="extra/yassl"
|
yassl_dir="extra/yassl"
|
||||||
yassl_libs="-L\$(top_srcdir)/extra/yassl/src -lyassl -L\$(top_srcdir)/extra/yassl/taocrypt/src -ltaocrypt"
|
yassl_libs="-L\$(top_srcdir)/extra/yassl/src -lyassl -L\$(top_srcdir)/extra/yassl/taocrypt/src -ltaocrypt"
|
||||||
|
yassl_libs_with_path="\$(top_srcdir)/extra/yassl/src/libyassl.a \$(top_srcdir)/extra/yassl/taocrypt/src/libtaocrypt.a"
|
||||||
yassl_includes="-I\$(top_srcdir)/extra/yassl/include"
|
yassl_includes="-I\$(top_srcdir)/extra/yassl/include"
|
||||||
AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
||||||
else
|
else
|
||||||
@ -25,5 +26,6 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
|
|||||||
AC_SUBST(yassl_libs)
|
AC_SUBST(yassl_libs)
|
||||||
AC_SUBST(yassl_includes)
|
AC_SUBST(yassl_includes)
|
||||||
AC_SUBST(yassl_dir)
|
AC_SUBST(yassl_dir)
|
||||||
|
AC_SUBST(yassl_libs_with_path)
|
||||||
AM_CONDITIONAL([HAVE_YASSL], [ test "with_yassl" = "yes" ])
|
AM_CONDITIONAL([HAVE_YASSL], [ test "with_yassl" = "yes" ])
|
||||||
])
|
])
|
||||||
|
@ -2423,7 +2423,7 @@ then
|
|||||||
AC_DEFINE([THREAD_SAFE_CLIENT], [1], [Should be client be thread safe])
|
AC_DEFINE([THREAD_SAFE_CLIENT], [1], [Should be client be thread safe])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLIENT_LIBS="$NON_THREADED_LIBS $openssl_libs $yassl_libs $ZLIB_LIBS $STATIC_NSS_FLAGS"
|
CLIENT_LIBS="$NON_THREADED_LIBS $openssl_libs $ZLIB_LIBS $STATIC_NSS_FLAGS"
|
||||||
|
|
||||||
AC_SUBST(CLIENT_LIBS)
|
AC_SUBST(CLIENT_LIBS)
|
||||||
AC_SUBST(NON_THREADED_LIBS)
|
AC_SUBST(NON_THREADED_LIBS)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
INCLUDES = -I../include -I../taocrypt/include -I../mySTL
|
INCLUDES = -I../include -I../taocrypt/include -I../mySTL
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libyassl.la
|
noinst_LIBRARIES = libyassl.a
|
||||||
libyassl_la_SOURCES = buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp \
|
libyassl_a_SOURCES = buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp \
|
||||||
handshake.cpp lock.cpp log.cpp socket_wrapper.cpp ssl.cpp \
|
handshake.cpp lock.cpp log.cpp socket_wrapper.cpp ssl.cpp \
|
||||||
template_instnt.cpp timer.cpp yassl_imp.cpp yassl_error.cpp yassl_int.cpp
|
template_instnt.cpp timer.cpp yassl_imp.cpp yassl_error.cpp yassl_int.cpp
|
||||||
EXTRA_DIST = ../include/*.hpp ../include/openssl/*.h
|
EXTRA_DIST = ../include/*.hpp ../include/openssl/*.h
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
INCLUDES = -I../include -I../../mySTL
|
INCLUDES = -I../include -I../../mySTL
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libtaocrypt.la
|
noinst_LIBRARIES = libtaocrypt.a
|
||||||
libtaocrypt_la_SOURCES = aes.cpp aestables.cpp algebra.cpp arc4.cpp asn.cpp \
|
libtaocrypt_a_SOURCES = aes.cpp aestables.cpp algebra.cpp arc4.cpp asn.cpp \
|
||||||
coding.cpp dh.cpp des.cpp dsa.cpp file.cpp hash.cpp integer.cpp \
|
coding.cpp dh.cpp des.cpp dsa.cpp file.cpp hash.cpp integer.cpp \
|
||||||
md2.cpp md5.cpp misc.cpp random.cpp ripemd.cpp rsa.cpp sha.cpp \
|
md2.cpp md5.cpp misc.cpp random.cpp ripemd.cpp rsa.cpp sha.cpp \
|
||||||
template_instnt.cpp
|
template_instnt.cpp
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
target = libmysqlclient.la
|
target = libmysqlclient.la
|
||||||
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
||||||
LIBS = @CLIENT_LIBS@
|
LIBS = @CLIENT_LIBS@ @yassl_libs@
|
||||||
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
||||||
|
|
||||||
|
@ -80,7 +80,9 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
|
|||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/strings/libmystrings.a \
|
$(top_builddir)/strings/libmystrings.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
$(top_builddir)/vio/libvio.a
|
$(top_builddir)/vio/libvio.a \
|
||||||
|
@yassl_libs_with_path@
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# To make it easy for the end user to use the embedded library we
|
# To make it easy for the end user to use the embedded library we
|
||||||
|
Reference in New Issue
Block a user