Skip to content

Commit

Permalink
Merge pull request #76 from xbmc/fix/wavpack-osx-x86_64
Browse files Browse the repository at this point in the history
[depends] wavpack: fix osx-x86_64 build failure
  • Loading branch information
phunkyfish authored Feb 14, 2024
2 parents 1e247e7 + 68e3fe4 commit 3244c0d
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 3244c0d

Please sign in to comment.