mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-15 21:53:38 +02:00
install: extract *all* .h files
Should prevent any problems with selectively picking header files to install.
This commit is contained in:
parent
ed820a267c
commit
accd1f69de
1 changed files with 1 additions and 5 deletions
|
@ -298,11 +298,7 @@ function install (gyp, argv, callback) {
|
||||||
function valid (file) {
|
function valid (file) {
|
||||||
// header files
|
// header files
|
||||||
return minimatch(file, 'src/*.h')
|
return minimatch(file, 'src/*.h')
|
||||||
|| minimatch(file, 'deps/http_parser/**/*.h')
|
|| minimatch(file, 'deps/**/*.h')
|
||||||
|| minimatch(file, 'deps/openssl/openssl/include/**/*.h')
|
|
||||||
|| minimatch(file, 'deps/v8/include/**/*.h')
|
|
||||||
|| minimatch(file, 'deps/uv/include/**/*.h')
|
|
||||||
|| minimatch(file, 'deps/zlib/**/*.h')
|
|
||||||
// non-legacy versions of node also extract the gyp build files
|
// non-legacy versions of node also extract the gyp build files
|
||||||
|| (!isLegacy &&
|
|| (!isLegacy &&
|
||||||
(minimatch(file, '*.gypi')
|
(minimatch(file, '*.gypi')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue