diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-29 18:26:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-29 22:54:39 +0300 |
commit | 447171a601d2fa1206c3a5505f9bce1d708ea0a2 (patch) | |
tree | d356dab7dadee07ff346fa2667b598271654f472 /mysql/buildfile | |
parent | 1e675201749eadd61f7fec358d55d154e71c279d (diff) |
Release version 10.2.10+11v10.2.10+11
Add zlib package dependency instead of bundling zlib
Diffstat (limited to 'mysql/buildfile')
-rw-r--r-- | mysql/buildfile | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/mysql/buildfile b/mysql/buildfile index efce512..b30a07e 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -2,16 +2,18 @@ # copyright : Copyright (c) 2016-2019 Code Synthesis Ltd # license : LGPLv2.1; see accompanying COPYING file +import imp_libs = libz%lib{z} + # Windows-specific named pipe and shared memory based communication plugins. # pvio_win32 = pvio/pvio_npipe pvio/pvio_shmem -lib{mariadb}: zlib/{c}{* } \ - plugins/{c}{** -{$pvio_win32}} \ - libmariadb/{c}{* -ma_tls -ma_client_plugin} \ - libmariadb/{c}{ ma_client_plugin} \ - {h}{** -version} \ - {h}{ version} +lib{mariadb}: {h}{** -version} \ + {h}{ version} \ + plugins/{c}{** -{$pvio_win32}} \ + libmariadb/{c}{* -ma_tls -ma_client_plugin} \ + libmariadb/{c}{ ma_client_plugin} \ + $imp_libs tclass = $c.target.class tsys = $c.target.system @@ -44,10 +46,6 @@ libmariadb/def{mariadbclient}: libmariadb/in{mariadbclient_win32} mariadb_deinitialize_ssl = ($with_ssl ? 'mariadb_deinitialize_ssl' : '') } -# Makes sense to distribute README for the bundled library. -# -lib{mariadb}: zlib/file{README} - # Include the generated version header into the distribution (so that we don't # pick up an installed one) and don't remove it when cleaning in src (so that # clean results in a state identical to distributed). @@ -174,19 +172,11 @@ switch $tclass } } -zlib_poptions = "-I$src_base/zlib" - # Note that the bundled win-iconv header is included as a quoted (relative) # path, so no need for -I option. # - zlib/ c.poptions =+ $zlib_poptions plugins/ c.poptions =+ $mariadb_poptions -libmariadb/ c.poptions =+ $mariadb_poptions $zlib_poptions - -# Disable the 'POSIX name for this item is deprecated' warnings. -# -if ($c.id == 'clang' && $msvc_runtime) - c.coptions += -Wno-deprecated-declarations +libmariadb/ c.poptions =+ $mariadb_poptions switch $c.class { @@ -200,6 +190,11 @@ switch $c.class # treating them as errors. # c.coptions += -Wno-all -Wno-extra -Wno-error + + # Disable the Clang targeting MSVC warnings. + # + if ($c.id == 'clang' && $msvc_runtime) + c.coptions += -Wno-deprecated-declarations } case 'msvc' { |