Skip to content

Commit d929bdb

Browse files
authoredAug 6, 2021
Add support for macos arm64 (#97)
1 parent 3ca4341 commit d929bdb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎deps/binding.gyp

+16
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,22 @@
202202
"opus/silk/float",
203203
],
204204
"defines": ["PIC", "HAVE_CONFIG_H"],
205+
"conditions": [
206+
[
207+
"target_arch==\"arm64\"",
208+
{
209+
"sources": [
210+
"opus/celt/arm/arm_celt_map.c",
211+
"opus/celt/arm/armcpu.c",
212+
"opus/celt/arm/celt_neon_intr.c",
213+
"opus/celt/arm/pitch_neon_intr.c",
214+
],
215+
"include_dirs": [
216+
"opus",
217+
],
218+
}
219+
],
220+
],
205221
},
206222
],
207223
}

0 commit comments

Comments
 (0)
Please sign in to comment.