mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Makefile.am:
Link with CLIENT_EXTRA_LDFLAGS, enable us to pass on libtool flags '-full-static' and '-static' using '--with-client-ldflags' to configure. mysql.spec.sh: Pass '-static' to libtool, link static with our own libraries, dynamic with system libraries. Link with the bundled zlib.
This commit is contained in:
@ -217,6 +217,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
|
||||
CXXFLAGS=\"$CXXFLAGS\" \
|
||||
./configure \
|
||||
$* \
|
||||
--with-mysqld-ldflags='-static' \
|
||||
--with-client-ldflags='-static' \
|
||||
--with-zlib-dir=bundled \
|
||||
--enable-assembler \
|
||||
--enable-local-infile \
|
||||
--with-mysqld-user=%{mysqld_user} \
|
||||
|
Reference in New Issue
Block a user