Opened 4 years ago
Closed 4 years ago
#975 closed task (fixed)
CMake: Add option to prefer static libmysqlclient
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build System | Version: | |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
I'm trying to build the MySQL FDO provider on CentOS against a binary MySQL Connector/C SDK (because the system-provided version is too old). Doing this however will complicate downstream dependency computation:
- We can't say that these binaries require
mysql
(the system-provided version would be too old) - It is difficult to "bundle" the libmysqlclient .so files detected by
FindMySQL.cmake
(how would we know if this was custom or system-provided)
The simplest option here, is to prefer static libmysqlclient, which our find module currently doesn't do.
Note:
See TracTickets
for help on using tickets.
In 7996: