]> git.pld-linux.org Git - packages/mysql.git/blame - mysql-versioning.patch
mysql status formatting cosmetics
[packages/mysql.git] / mysql-versioning.patch
CommitLineData
521ccb1d
AM
1The symbol versioning solution for libmysqlclient in mysql 5.1 was pretty
2awful (export everything) and as of 5.5.8 the cmake build scripts have
3forgotten the issue entirely. So we now maintain our own list of exported
4symbols and jam it into the build with this hack.
5
6
7diff -Naur mysql-5.5.8.orig/libmysql/CMakeLists.txt mysql-5.5.8/libmysql/CMakeLists.txt
8--- mysql-5.5.8.orig/libmysql/CMakeLists.txt 2010-12-03 12:58:26.000000000 -0500
9+++ mysql-5.5.8/libmysql/CMakeLists.txt 2010-12-21 21:00:07.135311386 -0500
10@@ -197,7 +197,7 @@
11 SET(libmysql_link_flags)
12 ENDIF()
13 SET_TARGET_PROPERTIES(libmysql PROPERTIES LINK_FLAGS
14- "${libmysql_link_flags} ${LINK_FLAG_NO_UNDEFINED}")
15+ "${libmysql_link_flags} -Wl,--version-script=libmysql.version ${LINK_FLAG_NO_UNDEFINED}")
16 ENDIF()
17 # clean direct output needs to be set several targets have the same name
18 #(mysqlclient in this case)
This page took 0.064999 seconds and 4 git commands to generate.