summaryrefslogtreecommitdiffstats
path: root/libraries/mysql-connector-c++/mysql_cxx_linkage.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2015-04-26 12:50:39 +0200
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commitfd1448408ddf5dce8327b89ad5f897ac7ab1b030 (patch)
treed8f7d2bc9e9cd3e8ed87ba6678d39eb1a5dfc7c5 /libraries/mysql-connector-c++/mysql_cxx_linkage.patch
parentbcbebf33abec328c1065cf773031aadd6b343b91 (diff)
downloadslackbuilds-fd1448408ddf5dce8327b89ad5f897ac7ab1b030.tar.gz
libraries/mysql-connector-c++: Updated for version 1.1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mysql-connector-c++/mysql_cxx_linkage.patch')
-rw-r--r--libraries/mysql-connector-c++/mysql_cxx_linkage.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/mysql-connector-c++/mysql_cxx_linkage.patch b/libraries/mysql-connector-c++/mysql_cxx_linkage.patch
new file mode 100644
index 0000000000..5f8fab2462
--- /dev/null
+++ b/libraries/mysql-connector-c++/mysql_cxx_linkage.patch
@@ -0,0 +1,13 @@
+diff --git a/FindMySQL.cmake b/FindMySQL.cmake
+index c73337a..d76fdbd 100644
+--- a/FindMySQL.cmake
++++ b/FindMySQL.cmake
+@@ -462,7 +462,7 @@ if(NOT WIN32)
+ endif()
+
+ if(NOT MYSQL_CXXFLAGS)
+- if(MYSQL_CXX_LINKAGE OR MYSQL_NUM_VERSION GREATER 50603)
++ if(MYSQL_CXX_LINKAGE)
+ _mysql_conf(MYSQL_CXXFLAGS "--cxxflags")
+ set(MYSQL_CXX_LINKAGE 1)
+ else()