diff options
author | Anel Husakovic <anel@mariadb.org> | 2020-08-07 17:03:17 +0200 |
---|---|---|
committer | Anel Husakovic <anel@mariadb.org> | 2020-08-11 15:31:01 +0200 |
commit | 863e28ff3ed0a5859561c397cbfb492170989ddd (patch) | |
tree | 7da162a9e83f520a0470782d2cff150ec76e0963 | |
parent | e0c06f5396df0d38f0e211b1fb5c62d0047aaf5d (diff) | |
download | mariadb-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
-rw-r--r-- | plugin/handler_socket/CMakeLists.txt | 5 |
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() |