1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/testing/spotify-qt/disable-crash-handler.patch
2021-08-24 21:29:10 +02:00

18 lines
605 B
Diff

Fix build on musl.
Patch-Source: https://github.com/void-linux/void-packages/blob/master/srcpkgs/spotify-qt/patches/disable-crash-handler.patch
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -26,11 +26,6 @@
# Version macros
target_compile_definitions(spotify-qt-lib PUBLIC LIB_VERSION="v${PROJECT_VERSION}")
-# Check if using GCC for crash handler support
-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- target_compile_definitions(spotify-qt-lib PRIVATE IS_GNU_CXX)
-endif ()
-
# Link optional libraries
if (LIB_QT_LIBRARIES)
target_link_libraries(spotify-qt-lib PRIVATE ${LIB_QT_LIBRARIES})