Commit 7d1f304 1 parent bcc06ac commit 7d1f304 Copy full SHA for 7d1f304
File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -458,12 +458,28 @@ if defined dll (
458
458
copy /Y libnode.dll %TARGET_NAME% \ > nul
459
459
if errorlevel 1 echo Cannot copy libnode.dll && goto package_error
460
460
461
+ copy /Y libnode.lib %TARGET_NAME% \ > nul
462
+ if errorlevel 1 echo Cannot copy libnode.lib && goto package_error
463
+
461
464
mkdir %TARGET_NAME% \Release > nul
462
465
copy /Y node.def %TARGET_NAME% \Release\ > nul
463
466
if errorlevel 1 echo Cannot copy node.def && goto package_error
464
467
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
466
469
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
+ )
467
483
)
468
484
cd ..
469
485
You can’t perform that action at this time.
0 commit comments