Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ports/libmysql/linux_libmysql.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
--- a/configure.cmake
+++ b/configure.cmake
@@ -456,7 +456,11 @@
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

1 change: 1 addition & 0 deletions ports/libmysql/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ vcpkg_apply_patches(
PATCHES
${CMAKE_CURRENT_LIST_DIR}/ignore-boost-version.patch
${CMAKE_CURRENT_LIST_DIR}/system-libs.patch
${CMAKE_CURRENT_LIST_DIR}/linux_libmysql.patch
)

file(REMOVE_RECURSE ${SOURCE_PATH}/include/boost_1_65_0)
Expand Down