Skip to content

Commit

Permalink
Fix building for node on arm64
Browse files Browse the repository at this point in the history
The library is provided, but binding.gyp is not making use of it
  • Loading branch information
gcampax authored Mar 31, 2018
1 parent 3846dab commit 37ac6a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@
'<(module_root_dir)/lib/rpi/libsnowboy-detect.a',
]
}
}],
['OS=="linux" and target_arch=="arm64"', {
'link_settings': {
'ldflags': [
'-Wl,--no-as-needed',
],
'libraries': [
'<(module_root_dir)/lib/aarch64-ubuntu1604/libsnowboy-detect.a',
]
}
}]
],
'cflags': [
Expand Down

0 comments on commit 37ac6a7

Please sign in to comment.