Skip to content

Commit

Permalink
Add support for macos arm64 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 authored Aug 6, 2021
1 parent 3ca4341 commit d929bdb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deps/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,22 @@
"opus/silk/float",
],
"defines": ["PIC", "HAVE_CONFIG_H"],
"conditions": [
[
"target_arch==\"arm64\"",
{
"sources": [
"opus/celt/arm/arm_celt_map.c",
"opus/celt/arm/armcpu.c",
"opus/celt/arm/celt_neon_intr.c",
"opus/celt/arm/pitch_neon_intr.c",
],
"include_dirs": [
"opus",
],
}
],
],
},
],
}

0 comments on commit d929bdb

Please sign in to comment.