Skip to content

Commit 8d65f17

Browse files
committed
build: add node.exp and node.lib files to tar-headers
tools/install.py will now include the AIX node.exp and the Windows node.lib file if they are present.
1 parent 4e6dc00 commit 8d65f17

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/install.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,13 @@ def headers(action):
140140
], 'include/node/')
141141

142142
# Add the expfile that is created on AIX
143-
if sys.platform.startswith('aix'):
143+
if os.isfile('out/Release/node.exp'):
144144
action(['out/Release/node.exp'], 'include/node/')
145145

146+
# Add the x64 windows libfile
147+
if os.isfile('Release/node.lib'):
148+
action(['Release/node.lib'], 'include/node/')
149+
146150
subdir_files('deps/v8/include', 'include/node/', action)
147151

148152
if 'false' == variables.get('node_shared_cares'):

0 commit comments

Comments
 (0)