Skip to content

Commit 4a529d8

Browse files
authored
Merge pull request Kitt-AI#412 from gcampax/master
Fix some build issues
2 parents bd9fcc7 + 37ac6a7 commit 4a529d8

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
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': [

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"host": "https://snowboy-release-node.s3-us-west-2.amazonaws.com"
1313
},
1414
"scripts": {
15-
"preinstall": "npm install node-pre-gyp",
1615
"install": "node-pre-gyp install --fallback-to-build",
1716
"test": "node index.js",
1817
"prepublish": "tsc --listFiles"

0 commit comments

Comments
 (0)