diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-02-13 10:10:07 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-02-13 10:10:07 +0100 |
commit | e68a21750a6e17015341329e50f12726177358d0 (patch) | |
tree | 5887108896073d631c36ffc400a1db5eeaef2f19 /mysql-versioning.patch | |
parent | 2f57d8a449a2177cdb6098e738dbb595ad41cb70 (diff) |
mysql 5.6, first work
Diffstat (limited to 'mysql-versioning.patch')
-rw-r--r-- | mysql-versioning.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-versioning.patch b/mysql-versioning.patch new file mode 100644 index 0000000..a7fce90 --- /dev/null +++ b/mysql-versioning.patch @@ -0,0 +1,19 @@ +The symbol versioning solution for libmysqlclient in mysql 5.1 was pretty +awful (export everything) and as of 5.5.8 the cmake build scripts have +forgotten the issue entirely. So we now maintain our own list of exported +symbols and jam it into the build with this hack. + +MySQL 5.6 still use soname .18 and manage a very different list +So keep our list for compatitility. + +--- mysql-5.6.10/libmysql/CMakeLists.txt.orig 2013-02-13 09:44:02.368490458 +0100 ++++ mysql-5.6.10/libmysql/CMakeLists.txt 2013-02-13 09:44:06.674509715 +0100 +@@ -221,7 +221,7 @@ + SET(libmysql_link_flags + "${libmysql_link_flags} ${LINK_FLAG_NO_UNDEFINED}") + SET(libmysql_link_flags +- "${libmysql_link_flags} -Wl,--version-script=libmysql.ver") ++ "${libmysql_link_flags} -Wl,--version-script=libmysql.version") + SET_TARGET_PROPERTIES(libmysql + PROPERTIES LINK_FLAGS "${libmysql_link_flags}") + ENDIF() |