diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2018-03-21 08:53:36 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-04-08 17:00:06 -0700 |
commit | df74ac6f4d5dd3418efe765fd03f57aecdcc94e8 (patch) | |
tree | 4e523af72c6aba4a64537bdc46293045df4b2fb7 /meta-oe/recipes-dbs | |
parent | 1cb118d3e75541e8ac9b3dc303d60cf43f6c6a95 (diff) | |
download | meta-openembedded-df74ac6f4d5dd3418efe765fd03f57aecdcc94e8.tar.gz |
mariadb(-native): refresh fix-mysqlclient-r-version.patch
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb/fix-mysqlclient-r-version.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/fix-mysqlclient-r-version.patch b/meta-oe/recipes-dbs/mysql/mariadb/fix-mysqlclient-r-version.patch index 7516619eb..a519e4292 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/fix-mysqlclient-r-version.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/fix-mysqlclient-r-version.patch | |||
@@ -25,9 +25,8 @@ Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
25 | 25 | ||
26 | --- | 26 | --- |
27 | cmake/install_macros.cmake | 25 +++++++++++++++---------- | 27 | cmake/install_macros.cmake | 25 +++++++++++++++---------- |
28 | cmake/mysql_version.cmake | 3 ++- | 28 | libmysql/CMakeLists.txt | 34 +++++++++++++++++++++++++++------- |
29 | libmysql/CMakeLists.txt | 36 ++++++++++++++++++++++++++++-------- | 29 | 2 files changed, 42 insertions(+), 17 deletions(-) |
30 | 3 files changed, 45 insertions(+), 19 deletions(-) | ||
31 | 30 | ||
32 | diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake | 31 | diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake |
33 | index b8efdf8..a0d0e68 100644 | 32 | index b8efdf8..a0d0e68 100644 |
@@ -39,8 +38,8 @@ index b8efdf8..a0d0e68 100644 | |||
39 | # | 38 | # |
40 | # This program is free software; you can redistribute it and/or modify | 39 | # This program is free software; you can redistribute it and/or modify |
41 | # it under the terms of the GNU General Public License as published by | 40 | # it under the terms of the GNU General Public License as published by |
42 | @@ -111,28 +111,33 @@ FUNCTION(INSTALL_SCRIPT) | 41 | @@ -167,28 +167,33 @@ ENDFUNCTION() |
43 | ENDFUNCTION() | 42 | |
44 | 43 | ||
45 | # Install symbolic link to CMake target. | 44 | # Install symbolic link to CMake target. |
46 | -# the link is created in the same directory as target | 45 | -# the link is created in the same directory as target |
@@ -86,8 +85,8 @@ diff --git a/libmysql/CMakeLists.txt b/libmysql/CMakeLists.txt | |||
86 | index be5760f..96286ff 100644 | 85 | index be5760f..96286ff 100644 |
87 | --- a/libmysql/CMakeLists.txt | 86 | --- a/libmysql/CMakeLists.txt |
88 | +++ b/libmysql/CMakeLists.txt | 87 | +++ b/libmysql/CMakeLists.txt |
89 | @@ -180,6 +180,12 @@ IF(MSVC) | 88 | @@ -433,6 +433,12 @@ IF(MSVC) |
90 | INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug) | 89 | INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug) |
91 | ENDIF() | 90 | ENDIF() |
92 | 91 | ||
93 | +MACRO(GET_TARGET_NAME target out_name) | 92 | +MACRO(GET_TARGET_NAME target out_name) |
@@ -99,7 +98,7 @@ index be5760f..96286ff 100644 | |||
99 | IF(UNIX) | 98 | IF(UNIX) |
100 | MACRO(GET_VERSIONED_LIBNAME LIBNAME EXTENSION VERSION OUTNAME) | 99 | MACRO(GET_VERSIONED_LIBNAME LIBNAME EXTENSION VERSION OUTNAME) |
101 | SET(DOT_VERSION ".${VERSION}") | 100 | SET(DOT_VERSION ".${VERSION}") |
102 | @@ -192,7 +198,13 @@ IF(UNIX) | 101 | @@ -445,7 +451,13 @@ IF(UNIX) |
103 | SET(${OUTNAME} ${LIBNAME}${EXTENSION}${DOT_VERSION}) | 102 | SET(${OUTNAME} ${LIBNAME}${EXTENSION}${DOT_VERSION}) |
104 | ENDIF() | 103 | ENDIF() |
105 | ENDMACRO() | 104 | ENDMACRO() |
@@ -114,7 +113,7 @@ index be5760f..96286ff 100644 | |||
114 | ENDIF() | 113 | ENDIF() |
115 | 114 | ||
116 | IF(NOT DISABLE_SHARED) | 115 | IF(NOT DISABLE_SHARED) |
117 | @@ -205,10 +217,9 @@ IF(NOT DISABLE_SHARED) | 116 | @@ -456,10 +468,9 @@ IF(NOT DISABLE_SHARED) |
118 | # libtool compatability | 117 | # libtool compatability |
119 | IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE) | 118 | IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR APPLE) |
120 | SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}") | 119 | SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}") |
@@ -127,7 +126,7 @@ index be5760f..96286ff 100644 | |||
127 | ENDIF() | 126 | ENDIF() |
128 | # Name of shared library is mysqlclient on Unix | 127 | # Name of shared library is mysqlclient on Unix |
129 | SET_TARGET_PROPERTIES(libmysql PROPERTIES | 128 | SET_TARGET_PROPERTIES(libmysql PROPERTIES |
130 | @@ -239,8 +250,13 @@ IF(NOT DISABLE_SHARED) | 129 | @@ -482,8 +493,13 @@ IF(NOT DISABLE_SHARED) |
131 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" | 130 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
132 | "" | 131 | "" |
133 | linkname) | 132 | linkname) |
@@ -143,7 +142,7 @@ index be5760f..96286ff 100644 | |||
143 | LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS) | 142 | LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS) |
144 | FOREACH(ver ${OS_SHARED_LIB_SYMLINKS}) | 143 | FOREACH(ver ${OS_SHARED_LIB_SYMLINKS}) |
145 | GET_VERSIONED_LIBNAME( | 144 | GET_VERSIONED_LIBNAME( |
146 | @@ -248,7 +264,11 @@ IF(NOT DISABLE_SHARED) | 145 | @@ -491,7 +507,11 @@ IF(NOT DISABLE_SHARED) |
147 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" | 146 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
148 | "${ver}" | 147 | "${ver}" |
149 | linkname) | 148 | linkname) |