amosbird commented on a change in pull request #7712:
URL: https://github.com/apache/incubator-doris/pull/7712#discussion_r784620032



##########
File path: be/CMakeLists.txt
##########
@@ -588,31 +581,41 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "BCC")
     )
 endif()
 
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+    set(ASAN_LIBS -static-libasan)
+    set(LSAN_LIBS -static-liblsan)
+    set(UBSAN_LIBS -static-libubsan tcmalloc)
+    set(TSAN_LIBS -static-libtsan)

Review comment:
       To be more specific, there is nothing in LGPL that mandates dynamic 
linking/loading. The requirement is that the end user should be able to relink 
the application to a substitute set of libraries if he so chooses.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to