build: handle arm64 node headers (#20192)
* build: handle arm64 node headers
(cherry picked from commit ff1f224d96
)
* node.lib for arm64 needs to go to specific dir
This commit is contained in:
parent
fd31a99ef0
commit
5ccc043d86
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ def upload_node(bucket, access_key, secret_key, version):
|
|||
node_lib = os.path.join(DIST_DIR, 'node.lib')
|
||||
iojs_lib = os.path.join(DIST_DIR, 'win-x86', 'iojs.lib')
|
||||
v4_node_lib = os.path.join(DIST_DIR, 'win-x86', 'node.lib')
|
||||
elif get_target_arch() == 'arm64':
|
||||
node_lib = os.path.join(DIST_DIR, 'arm64', 'node.lib')
|
||||
iojs_lib = os.path.join(DIST_DIR, 'win-arm64', 'iojs.lib')
|
||||
v4_node_lib = os.path.join(DIST_DIR, 'win-arm64', 'node.lib')
|
||||
else:
|
||||
node_lib = os.path.join(DIST_DIR, 'x64', 'node.lib')
|
||||
iojs_lib = os.path.join(DIST_DIR, 'win-x64', 'iojs.lib')
|
||||
|
|
Loading…
Reference in a new issue