diff options
Diffstat (limited to 'vcpkg/ports/sentry-native/fix-usage-runtime.patch')
| -rw-r--r-- | vcpkg/ports/sentry-native/fix-usage-runtime.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/sentry-native/fix-usage-runtime.patch b/vcpkg/ports/sentry-native/fix-usage-runtime.patch new file mode 100644 index 0000000..3b65c48 --- /dev/null +++ b/vcpkg/ports/sentry-native/fix-usage-runtime.patch @@ -0,0 +1,13 @@ +diff --git a/external/crashpad/handler/CMakeLists.txt b/external/crashpad/handler/CMakeLists.txt +index b89c570..2e0aaa1 100644 +--- a/external/crashpad/handler/CMakeLists.txt ++++ b/external/crashpad/handler/CMakeLists.txt +@@ -88,7 +88,7 @@ if(NOT IOS) + $<$<COMPILE_LANGUAGE:CXX>:-Wno-ignored-attributes> + ) + endif() +- if(LINUX) ++ if(LINUX AND BUILD_SHARED_LIBS) + target_sources(crashpad_handler PRIVATE + ../client/pthread_create_linux.cc + ) |