Skip to content

Commit 8305199

Browse files
committed
fixup
Signed-off-by: Paolo Insogna <[email protected]>
1 parent 3418d7e commit 8305199

2 files changed

Lines changed: 6 additions & 36 deletions

File tree

deps/libffi/libffi.gyp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
],
108108
'include_dirs': [
109109
'include',
110-
'<(INTERMEDIATE_DIR)',
110+
'<(SHARED_INTERMEDIATE_DIR)/libffi',
111111
],
112112
'sources': [
113113
'<@(libffi_sources)',
@@ -124,15 +124,15 @@
124124
'src/x86/ffitarget.h',
125125
],
126126
'outputs': [
127-
'<(INTERMEDIATE_DIR)/ffi.h',
128-
'<(INTERMEDIATE_DIR)/fficonfig.h',
129-
'<(INTERMEDIATE_DIR)/ffitarget.h',
127+
'<(SHARED_INTERMEDIATE_DIR)/libffi/ffi.h',
128+
'<(SHARED_INTERMEDIATE_DIR)/libffi/fficonfig.h',
129+
'<(SHARED_INTERMEDIATE_DIR)/libffi/ffitarget.h',
130130
],
131131
'action': [
132132
'<(python)',
133133
'generate-headers.py',
134134
'--output-dir',
135-
'<(INTERMEDIATE_DIR)',
135+
'<(SHARED_INTERMEDIATE_DIR)/libffi',
136136
],
137137
},
138138
],
@@ -213,7 +213,7 @@
213213
'direct_dependent_settings': {
214214
'include_dirs': [
215215
'include',
216-
'<(INTERMEDIATE_DIR)',
216+
'<(SHARED_INTERMEDIATE_DIR)/libffi',
217217
],
218218
'defines': [
219219
'FFI_STATIC_BUILD',

node.gyp

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,21 +1010,6 @@
10101010
'dependencies': [
10111011
'deps/libffi/libffi.gyp:libffi',
10121012
],
1013-
'conditions': [
1014-
[ 'OS=="win"', {
1015-
'include_dirs': [
1016-
'<(PRODUCT_DIR)/obj/libffi',
1017-
],
1018-
}, 'OS=="mac"', {
1019-
'include_dirs': [
1020-
'<(PRODUCT_DIR)/obj/deps/libffi/libffi.gen',
1021-
],
1022-
}, {
1023-
'include_dirs': [
1024-
'<(PRODUCT_DIR)/obj.target/libffi/geni',
1025-
],
1026-
}],
1027-
],
10281013
}],
10291014
],
10301015
}],
@@ -1092,21 +1077,6 @@
10921077
'dependencies': [
10931078
'deps/libffi/libffi.gyp:libffi',
10941079
],
1095-
'conditions': [
1096-
[ 'OS=="win"', {
1097-
'include_dirs': [
1098-
'<(PRODUCT_DIR)/obj/libffi',
1099-
],
1100-
}, 'OS=="mac"', {
1101-
'include_dirs': [
1102-
'<(PRODUCT_DIR)/obj/deps/libffi/libffi.gen',
1103-
],
1104-
}, {
1105-
'include_dirs': [
1106-
'<(PRODUCT_DIR)/obj.target/libffi/geni',
1107-
],
1108-
}],
1109-
],
11101080
}],
11111081
],
11121082
}],

0 commit comments

Comments
 (0)