File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -458,12 +458,28 @@ if defined dll (
458458 copy /Y libnode.dll %TARGET_NAME% \ > nul
459459 if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
460460
461+ copy /Y libnode.lib %TARGET_NAME% \ > nul
462+ if errorlevel 1 echo Cannot copy libnode.lib && goto package_error
463+
461464 mkdir %TARGET_NAME% \Release > nul
462465 copy /Y node.def %TARGET_NAME% \Release\ > nul
463466 if errorlevel 1 echo Cannot copy node.def && goto package_error
464467
465- python ..\tools\install.py install --dest-dir %CD% \%TARGET_NAME% --prefix \ --headers-only --silent
468+ python ..\tools\install.py install --root-dir .. --config-gypi-path %CD% \..\config.gypi -- dest-dir %CD% \%TARGET_NAME% --prefix \ --headers-only
466469 if errorlevel 1 echo Cannot install headers && goto package_error
470+
471+ if exist ..\Debug (
472+ mkdir %TARGET_NAME% \Debug > nul
473+
474+ copy /Y ..\Debug\libnode.dll %TARGET_NAME% \Debug\ > nul
475+ if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
476+
477+ copy /Y ..\Debug\libnode.lib %TARGET_NAME% \Debug\ > nul
478+ if errorlevel 1 echo Cannot copy libnode.lib && goto package_error
479+
480+ copy /Y ..\Debug\node.def %TARGET_NAME% \Debug\ > nul
481+ if errorlevel 1 echo Cannot copy node.def && goto package_error
482+ )
467483)
468484cd ..
469485
You can’t perform that action at this time.
0 commit comments