mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
mariadb: fix build in Darwin
This commit is contained in:
parent
12f95f7572
commit
21e891efd1
12
pkgs/servers/sql/mariadb/cmake-fix-crypt-libs.patch
Normal file
12
pkgs/servers/sql/mariadb/cmake-fix-crypt-libs.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/libmariadb/plugins/auth/CMakeLists.txt b/libmariadb/plugins/auth/CMakeLists.txt
|
||||
index aa599418..7a51f73b 100644
|
||||
--- a/libmariadb/plugins/auth/CMakeLists.txt
|
||||
+++ b/libmariadb/plugins/auth/CMakeLists.txt
|
||||
@@ -50,6 +50,7 @@ IF(WITH_SSL)
|
||||
${REF10_SOURCES}
|
||||
${CRYPT_SOURCE}
|
||||
INCLUDES ${REF10_DIR}
|
||||
+ LIBRARIES ${ED25519_LIBS}
|
||||
COMPILE_OPTIONS -DMYSQL_CLIENT=1)
|
||||
IF(MSVC)
|
||||
# Silence conversion (integer truncantion) warnings from reference code
|
@ -53,6 +53,7 @@ common = rec { # attributes common to both builds
|
||||
patches = [
|
||||
./cmake-includedir.patch
|
||||
./cmake-libmariadb-includedir.patch
|
||||
./cmake-fix-crypt-libs.patch
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user