summaryrefslogtreecommitdiff
path: root/plugin/handler_socket
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2020-08-07 17:03:17 +0200
committerAnel Husakovic <anel@mariadb.org>2020-08-11 15:31:01 +0200
commit863e28ff3ed0a5859561c397cbfb492170989ddd (patch)
tree7da162a9e83f520a0470782d2cff150ec76e0963 /plugin/handler_socket
parente0c06f5396df0d38f0e211b1fb5c62d0047aaf5d (diff)
downloadmariadb-git-863e28ff3ed0a5859561c397cbfb492170989ddd.tar.gz
MDEV-22066: out-of-source build fails with WITHOUT_SERVER=ON
Patch 4aaa38d26ed95127b842410 is replacing `my_config.h` with `my_global.h` which is included in in-source build, but not for out-of-source build tree. Closes #1466
Diffstat (limited to 'plugin/handler_socket')
-rw-r--r--plugin/handler_socket/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/handler_socket/CMakeLists.txt b/plugin/handler_socket/CMakeLists.txt
index 329ff58d7f2..5a1925b40e0 100644
--- a/plugin/handler_socket/CMakeLists.txt
+++ b/plugin/handler_socket/CMakeLists.txt
@@ -1,7 +1,8 @@
-IF(WIN32)
+IF(WIN32 OR WITHOUT_SERVER)
# Handlersocket does not compile on Windows, compiles but does
- # not start on FreeBSD.
+ # not start on FreeBSD.
+ # It is a server plugin and disable it explicitly here.
RETURN()
ENDIF()