You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ya...@apache.org on 2021/03/08 01:03:12 UTC
[incubator-doris] branch master updated: Fix dlopen faild by
upgrade cmake (#5481)
This is an automated email from the ASF dual-hosted git repository.
yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 43dd583 Fix dlopen faild by upgrade cmake (#5481)
43dd583 is described below
commit 43dd583cfc40246151dd62f80409ea0c8b3262e7
Author: Zhengguo Yang <ya...@gmail.com>
AuthorDate: Mon Mar 8 09:02:53 2021 +0800
Fix dlopen faild by upgrade cmake (#5481)
* fix dlopen faild
* remove useless code
---
be/src/service/CMakeLists.txt | 2 +-
be/src/tools/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/service/CMakeLists.txt b/be/src/service/CMakeLists.txt
index 63f79b6..91a9f3c 100644
--- a/be/src/service/CMakeLists.txt
+++ b/be/src/service/CMakeLists.txt
@@ -34,7 +34,7 @@ add_executable(palo_be
)
# This permits libraries loaded by dlopen to link to the symbols in the program.
-# set_target_properties(palo_be PROPERTIES LINK_FLAGS -pthread)
+set_target_properties(palo_be PROPERTIES ENABLE_EXPORTS 1)
target_link_libraries(palo_be
${DORIS_LINK_LIBS}
diff --git a/be/src/tools/CMakeLists.txt b/be/src/tools/CMakeLists.txt
index 47ab5de..be15ed3 100644
--- a/be/src/tools/CMakeLists.txt
+++ b/be/src/tools/CMakeLists.txt
@@ -26,7 +26,7 @@ add_executable(meta_tool
)
# This permits libraries loaded by dlopen to link to the symbols in the program.
-# set_target_properties(doris_be PROPERTIES LINK_FLAGS -pthread)
+set_target_properties(meta_tool PROPERTIES ENABLE_EXPORTS 1)
target_link_libraries(meta_tool
${DORIS_LINK_LIBS}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org