mysql: 5.7.X versions link boost (#11237)

Fixes #11226

MySQL 5.7.X and Boost 1.59.0 have a closer relationship than
MySQL >= 8.0 and their corresponding Boost versions: 5.7.X needs to
link against boost libraries which is indicated by marking boost as
a link dependency (removing the 'type' reverts to the default, which
includes link and build).
This commit is contained in:
Chris Green 2019-04-19 17:34:55 -05:00 committed by Peter Scheibel
parent 56c233b0b7
commit 3b34931f68

View File

@ -79,10 +79,10 @@ class Mysql(CMakePackage):
depends_on('boost@1.66.0 cxxstd=14', type='build', when='@8.0.11 cxxstd=14')
depends_on('boost@1.66.0 cxxstd=17', type='build', when='@8.0.11 cxxstd=17')
# 5.7.X
depends_on('boost@1.59.0 cxxstd=98', type='build', when='@5.7.0:5.7.999 cxxstd=98')
depends_on('boost@1.59.0 cxxstd=11', type='build', when='@5.7.0:5.7.999 cxxstd=11')
depends_on('boost@1.59.0 cxxstd=14', type='build', when='@5.7.0:5.7.999 cxxstd=14')
depends_on('boost@1.59.0 cxxstd=17', type='build', when='@5.7.0:5.7.999 cxxstd=17')
depends_on('boost@1.59.0 cxxstd=98', when='@5.7.0:5.7.999 cxxstd=98')
depends_on('boost@1.59.0 cxxstd=11', when='@5.7.0:5.7.999 cxxstd=11')
depends_on('boost@1.59.0 cxxstd=14', when='@5.7.0:5.7.999 cxxstd=14')
depends_on('boost@1.59.0 cxxstd=17', when='@5.7.0:5.7.999 cxxstd=17')
depends_on('ncurses')
depends_on('openssl')