Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[monodroid] Fix ld build error on Nightly Builds. #7925

Merged
merged 1 commit into from
Apr 1, 2023
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