From e68a21750a6e17015341329e50f12726177358d0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Feb 2013 10:10:07 +0100 Subject: mysql 5.6, first work --- mysql-versioning.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mysql-versioning.patch (limited to 'mysql-versioning.patch') 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() -- cgit