Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/monodroid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ option(ENABLE_CLANG_UBSAN "Enable the clang UndefinedBehaviorSanitizer support"

if(ENABLE_CLANG_ASAN OR ENABLE_CLANG_UBSAN)
set(STRIP_DEBUG_DEFAULT OFF)
set(ANALYZERS_ENABLED ON)
else()
set(STRIP_DEBUG_DEFAULT ON)
set(ANALYZERS_ENABLED OFF)
endif()

option(ENABLE_NET "Enable compilation for .NET 6+" OFF)
Expand Down Expand Up @@ -722,7 +724,7 @@ target_link_libraries(
${LINK_LIBS} xamarin-app
)

if(ANDROID AND ENABLE_NET)
if(ANDROID AND ENABLE_NET AND (NOT ANALYZERS_ENABLED))
add_library(
c
SHARED ${XAMARIN_STUB_LIB_SOURCES}
Expand Down