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 @@ -434,12 +434,28 @@ if defined dll (
434434 copy /Y libnode.dll %TARGET_NAME% \ > nul
435435 if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
436436
437+ copy /Y libnode.lib %TARGET_NAME% \ > nul
438+ if errorlevel 1 echo Cannot copy libnode.lib && goto package_error
439+
437440 mkdir %TARGET_NAME% \Release > nul
438441 copy /Y node.def %TARGET_NAME% \Release\ > nul
439442 if errorlevel 1 echo Cannot copy node.def && goto package_error
440443
441- python ..\tools\install.py install --dest-dir %CD% \%TARGET_NAME% --prefix \ --headers-only --silent
444+ python ..\tools\install.py install --root-dir .. --config-gypi-path %CD% \..\config.gypi -- dest-dir %CD% \%TARGET_NAME% --prefix \ --headers-only
442445 if errorlevel 1 echo Cannot install headers && goto package_error
446+
447+ if exist ..\Debug (
448+ mkdir %TARGET_NAME% \Debug > nul
449+
450+ copy /Y ..\Debug\libnode.dll %TARGET_NAME% \Debug\ > nul
451+ if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
452+
453+ copy /Y ..\Debug\libnode.lib %TARGET_NAME% \Debug\ > nul
454+ if errorlevel 1 echo Cannot copy libnode.lib && goto package_error
455+
456+ copy /Y ..\Debug\node.def %TARGET_NAME% \Debug\ > nul
457+ if errorlevel 1 echo Cannot copy node.def && goto package_error
458+ )
443459)
444460cd ..
445461
You can’t perform that action at this time.
0 commit comments