Skip to content

Commit 37ac6a7

Browse files
authored
Fix building for node on arm64
The library is provided, but binding.gyp is not making use of it
1 parent 3846dab commit 37ac6a7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

binding.gyp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
'<(module_root_dir)/lib/rpi/libsnowboy-detect.a',
3232
]
3333
}
34+
}],
35+
['OS=="linux" and target_arch=="arm64"', {
36+
'link_settings': {
37+
'ldflags': [
38+
'-Wl,--no-as-needed',
39+
],
40+
'libraries': [
41+
'<(module_root_dir)/lib/aarch64-ubuntu1604/libsnowboy-detect.a',
42+
]
43+
}
3444
}]
3545
],
3646
'cflags': [

0 commit comments

Comments
 (0)