[ODBC-55] Build with dynamic library (in CmakeLists.txt) Created: 2016-09-27 Updated: 2017-08-25 Resolved: 2017-08-25 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | 2.0.12 |
| Fix Version/s: | 3.0.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michal Schorm | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora24 |
||
| Issue Links: |
|
||||||||||||
| Description |
|
Hello, I'm trying to pack and distribute odbc-connector to Fedora repos. But there is a issue with static lib, since there can't be any in Fedora (if posssible). Edit file CMakeLists.txt on line 211 and add following:
Now I can build it safely with
and you will not lose any functionality. |
| Comments |
| Comment by Lawrin Novitsky [ 2017-08-25 ] |
|
Cmake option MARIADB_LINK_DYNAMIC tells cmake to look for and configure to link against dynamic library. The same old MARIADB_LIBRARY_DIR option in combination with it, can be used to point to library dir. The fix is for 3.0 only, and there is no plans to downmerge it. |