build: fix ./configure --enable-d8

Add SHARED_INTERMEDIATE_DIR to the include path because that is where
Torque-generated files live. d8.cc includes files from deps/v8/src
that depend on those generated files.

PR-URL: https://github.com/nodejs/node/pull/23656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
This commit is contained in:
Ben Noordhuis 2018-10-14 19:07:15 +02:00 committed by Daniel Bevenius
parent d22ec11e4d
commit 05394d2e10

View File

@ -23,6 +23,7 @@
'include_dirs+': [
'..',
'<(DEPTH)',
'<(SHARED_INTERMEDIATE_DIR)',
],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',