From f3ae34a99ab63ce3298f21340d1a55fe4909860c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Wed, 1 Nov 2017 23:27:24 +0000 Subject: [PATCH 1/2] tools: add chakra_tdd.h to install.py chakra_tdd.h was added to the sources. This adds it to install.py to be included in the headers package. Refs: https://github.com/nodejs/node-chakracore/pull/397 Fixes: https://github.com/nodejs/node-chakracore/issues/417 --- tools/install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/install.py b/tools/install.py index 42e105f7af9..75d0bb82692 100755 --- a/tools/install.py +++ b/tools/install.py @@ -176,6 +176,9 @@ def headers(action): if 'v8' == variables.get('node_engine'): subdir_files('deps/v8/include', 'include/node/', action) elif 'chakracore' == variables.get('node_engine'): + action([ + 'src/chakra_ttd.h' + ], 'include/node/') subdir_files('deps/chakrashim/include', 'include/node/', action) subdir_files('deps/chakrashim/src', 'include/node/', action) else: From 9224d7bbde1c0f63ddaf4c73f593341c12fe5aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Thu, 2 Nov 2017 17:08:10 +0000 Subject: [PATCH 2/2] fixup: in one line --- tools/install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/install.py b/tools/install.py index 75d0bb82692..af4342a15fd 100755 --- a/tools/install.py +++ b/tools/install.py @@ -176,9 +176,7 @@ def headers(action): if 'v8' == variables.get('node_engine'): subdir_files('deps/v8/include', 'include/node/', action) elif 'chakracore' == variables.get('node_engine'): - action([ - 'src/chakra_ttd.h' - ], 'include/node/') + action(['src/chakra_ttd.h'], 'include/node/') subdir_files('deps/chakrashim/include', 'include/node/', action) subdir_files('deps/chakrashim/src', 'include/node/', action) else: