Skip to content

Commit

Permalink
[depends] wavpack: fix osx-x86_64 build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi committed Feb 17, 2023
1 parent 1309c66 commit 3900dac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions depends/common/wavpack/04-fix-osx-x86_x64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,7 +139,7 @@
endif()
else()
if(CMAKE_ASM-ATT_COMPILER)
- if(CPU_ASM_X86 OR CPU_ASM_X64 OR CPU_ASM_ARM32)
+ if(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" AND (CPU_ASM_X86 OR CPU_ASM_X64 OR CPU_ASM_ARM32))
set(HAVE_ASM 1)
endif()
endif()

0 comments on commit 3900dac

Please sign in to comment.