Skip to content

Commit

Permalink
[tools] ship openssl headers under 'include/node'
Browse files Browse the repository at this point in the history
some native module 'nodegit' depends on the relative
path to configure correctly

Ref #6869
  • Loading branch information
rogerwang committed Nov 15, 2018
1 parent 64c8c20 commit e5ba482
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/make-nw-headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ def update_uvh(tmp_dir, header_files):
header_files = ['node.h', 'env.h', 'env-inl.h']
update_uvh(tmp_dir, header_files)


include_node = os.path.join(tmp_dir, 'node', 'include', 'node', 'openssl')
base = os.path.join(third_party_dir, 'node-nw', 'deps', 'openssl', 'openssl', 'include', 'openssl')
shutil.copytree(base, include_node)
distutils.dir_util.copy_tree(os.path.join(third_party_dir, 'node-nw', 'deps', 'openssl', 'config'),
include_node)

print 'copy file end'
print 'Begin compress file'

Expand Down

0 comments on commit e5ba482

Please sign in to comment.