Skip to content

Commit b218bb2

Browse files
committed
[build] Build a universal binary on macOS 11 or higher
Fixes #160
1 parent 362f677 commit b218bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding.gyp

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
# Use Perl v-strings to compare versions.
2121
['clang_version and <!(perl -e \'print <(clang_version) cmp 12.0.0\')==1', {
2222
'xcode_settings': {
23-
'OTHER_CFLAGS': ['-arch arm64'],
24-
'OTHER_LDFLAGS': ['-arch arm64']
23+
'OTHER_CFLAGS': ['-arch x86_64', '-arch arm64'],
24+
'OTHER_LDFLAGS': ['-arch x86_64', '-arch arm64']
2525
}
2626
}]
2727
]

0 commit comments

Comments
 (0)