diff options
| author | grdowns <grdowns@microsoft.com> | 2019-06-12 16:35:54 -0700 |
|---|---|---|
| committer | grdowns <grdowns@microsoft.com> | 2019-06-12 16:35:54 -0700 |
| commit | 1586330395db0bfa14c40c4b1a8d4da6c8f7c5f7 (patch) | |
| tree | 0a2b96aa794779ff6690658e32e26477b6e0d269 /ports/libmysql/linux_libmysql.patch | |
| parent | a7a5dcd0e0ed213ef2dde5a4969e704dc6661ff3 (diff) | |
| parent | da4fd28a025119b020d04973b937fa9131ddee6f (diff) | |
| download | vcpkg-1586330395db0bfa14c40c4b1a8d4da6c8f7c5f7.tar.gz vcpkg-1586330395db0bfa14c40c4b1a8d4da6c8f7c5f7.zip | |
Merge branch 'add_libraqm' of https://github.com/tobbi/vcpkg into openssl-version-bump
Diffstat (limited to 'ports/libmysql/linux_libmysql.patch')
| -rw-r--r-- | ports/libmysql/linux_libmysql.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/libmysql/linux_libmysql.patch b/ports/libmysql/linux_libmysql.patch new file mode 100644 index 000000000..42dfa73d8 --- /dev/null +++ b/ports/libmysql/linux_libmysql.patch @@ -0,0 +1,18 @@ +diff --git a/configure.cmake b/configure.cmake +index 1f3d8e2..9e45f48 100644 +--- a/configure.cmake ++++ b/configure.cmake +@@ -456,7 +456,11 @@ IF(NOT HAVE_FCNTL_NONBLOCK) + ENDIF() + + IF(NOT CMAKE_CROSSCOMPILING AND NOT MSVC) +- STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} processor) ++ IF(${CMAKE_SYSTEM_PROCESSOR}) ++ STRING(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} processor) ++ ELSE() ++ STRING(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} processor) ++ ENDIF() + IF(processor MATCHES "86" OR processor MATCHES "amd64" OR processor MATCHES "x64") + IF(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS") + # The loader in some Solaris versions has a bug due to which it refuses to + |
