summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-07-27 16:42:13 +0200
committerlenz@mysql.com <>2005-07-27 16:42:13 +0200
commita5b6057db518b2ed13138cc25a7b03cf6ee8bf1d (patch)
treea586c9e84b0c827c55ed35292f877488ca12f0d3
parent981d97e787c3a9b0f0a6b18d4a3351750929ff56 (diff)
downloadmariadb-git-a5b6057db518b2ed13138cc25a7b03cf6ee8bf1d.tar.gz
- build the RPM binaries against the bundled zlib, when static linking is requested
-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)\" \