Skip to content

Commit

Permalink
[build] Build a universal binary on macOS 11 or higher
Browse files Browse the repository at this point in the history
Fixes #160
  • Loading branch information
lpinca committed Oct 23, 2024
1 parent 362f677 commit b218bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# Use Perl v-strings to compare versions.
['clang_version and <!(perl -e \'print <(clang_version) cmp 12.0.0\')==1', {
'xcode_settings': {
'OTHER_CFLAGS': ['-arch arm64'],
'OTHER_LDFLAGS': ['-arch arm64']
'OTHER_CFLAGS': ['-arch x86_64', '-arch arm64'],
'OTHER_LDFLAGS': ['-arch x86_64', '-arch arm64']
}
}]
]
Expand Down

0 comments on commit b218bb2

Please sign in to comment.