diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/sql/mariadb/cmake-without-client.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/sql/mariadb/cmake-without-client.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/sql/mariadb/cmake-without-client.patch b/nixpkgs/pkgs/servers/sql/mariadb/cmake-without-client.patch new file mode 100644 index 000000000000..ce36d036b6d0 --- /dev/null +++ b/nixpkgs/pkgs/servers/sql/mariadb/cmake-without-client.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1ea7c1df..b0face0d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -176,6 +176,10 @@ ELSE() + SET (SKIP_COMPONENTS "N-O-N-E") + ENDIF() + ++IF (WITHOUT_CLIENT) ++ SET (SKIP_COMPONENTS "Client|ClientPlugins|ManPagesClient") ++ENDIF() ++ + OPTION(NOT_FOR_DISTRIBUTION "Allow linking with GPLv2-incompatible system libraries. Only set it you never plan to distribute the resulting binaries" OFF) + + INCLUDE(check_compiler_flag) |