summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-07-27 16:42:13 +0200
committerunknown <lenz@mysql.com>2005-07-27 16:42:13 +0200
commit31a12de0833e0b1a2b1f7681878f3bc1dd645fd1 (patch)
treea586c9e84b0c827c55ed35292f877488ca12f0d3
parent24d17d01a6c0eb41e0afcc278a898400312f861e (diff)
downloadmariadb-git-31a12de0833e0b1a2b1f7681878f3bc1dd645fd1.tar.gz
- build the RPM binaries against the bundled zlib, when static linking is requested
support-files/mysql.spec.sh: - build against the bundled zlib, when linking statically
-rw-r--r--support-files/mysql.spec.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 7dc04c39225..e4cd3027b8a 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -348,6 +348,7 @@ BuildMySQL "--disable-shared \
%if %{STATIC_BUILD}
--with-mysqld-ldflags='-all-static' \
--with-client-ldflags='-all-static' \
+ --with-zlib-dir=bundled \
$USE_OTHER_LIBC_DIR \
%endif
--with-comment=\"MySQL Community Edition - Standard (GPL)\" \