Skip to content

Commit

Permalink
Fix spaces in path
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Mösner authored and panther7 committed Oct 24, 2023
1 parent 966ca06 commit f4ff0e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ function configure (gyp, argv, callback) {
!gyp.opts.nodedir ? '<(target_arch)' : '$(Configuration)',
release.name + '.lib')

argv.push('-I', addon_gypi)
argv.push('-I', common_gypi)
argv.push('-I', '"' + addon_gypi + '"')
argv.push('-I', '"' + common_gypi + '"')
argv.push('-Dlibrary=shared_library')
argv.push('-Dvisibility=default')
argv.push('-Dnode_root_dir=' + nodeDir)
argv.push('-Dnode_root_dir="' + nodeDir + '"')
if (process.platform === 'aix') {
argv.push('-Dnode_exp_file=' + node_exp_file)
}
argv.push('-Dnode_gyp_dir=' + nodeGypDir)
argv.push('-Dnode_gyp_dir="' + nodeGypDir + '"')
argv.push('-Dnode_lib_file="' + nodeLibFile + '"')
argv.push('-Dnw_lib_file="' + nwLibFile + '"')
argv.push('-Dmodule_root_dir=' + process.cwd())
Expand All @@ -344,7 +344,7 @@ function configure (gyp, argv, callback) {
argv.unshift('binding.gyp')

// execute `gyp` from the current target nodedir
argv.unshift(gyp_script)
argv.unshift('"' + gyp_script + '"')

// make sure python uses files that came with this particular node package
var pypath = [path.join(__dirname, '..', 'gyp', 'pylib')]
Expand Down

0 comments on commit f4ff0e2

Please sign in to comment.