This is an automated email from the ASF dual-hosted git repository. alexey pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push: new 0675507c7 [mini-cluster] fix build if NO_TESTS=1 0675507c7 is described below commit 0675507c7a7430ffd3264debae5c36199f57eb7e Author: Alexey Serbin <ale...@apache.org> AuthorDate: Mon Apr 17 17:01:35 2023 -0700 [mini-cluster] fix build if NO_TESTS=1 Prior to this patch, the build would fail if building with NO_TESTS=1: DEBUG: Linking CXX shared library ../../../lib/libmini_cluster.so ld.gold: error: cannot find -lsecurity_test_util collect2: error: ld returned 1 exit status RELEASE: Linking CXX executable ../../../bin/kudu ld.gold: error: cannot find -lsecurity_test_util collect2: error: ld returned 1 exit status This is a follow-up to 8595384de007963181cca59b0248b85169f18792. Change-Id: Ie5bd16c049cb4494856ae872554e79ab0bd4785f Reviewed-on: http://gerrit.cloudera.org:8080/19761 Tested-by: Kudu Jenkins Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com> --- src/kudu/integration-tests/CMakeLists.txt | 3 ++- src/kudu/mini-cluster/CMakeLists.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kudu/integration-tests/CMakeLists.txt b/src/kudu/integration-tests/CMakeLists.txt index c390871c0..0e7ca24b5 100644 --- a/src/kudu/integration-tests/CMakeLists.txt +++ b/src/kudu/integration-tests/CMakeLists.txt @@ -48,7 +48,8 @@ target_link_libraries(itest_util kudu_fs kudu_test_util kudu_tools_test_util - kudu_tools_util) + kudu_tools_util + security_test_util) add_dependencies(itest_util kudu-master kudu-tserver) diff --git a/src/kudu/mini-cluster/CMakeLists.txt b/src/kudu/mini-cluster/CMakeLists.txt index 7748795e6..f10497a0d 100644 --- a/src/kudu/mini-cluster/CMakeLists.txt +++ b/src/kudu/mini-cluster/CMakeLists.txt @@ -45,7 +45,6 @@ set(MINI_CLUSTER_LIBS tserver tserver_proto tserver_service_proto - security_test_util wire_protocol_proto) if (NOT NO_CHRONY)