aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap-mingw.bat2
-rw-r--r--bootstrap-msvc.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-mingw.bat b/bootstrap-mingw.bat
index d4b2488..d830073 100644
--- a/bootstrap-mingw.bat
+++ b/bootstrap-mingw.bat
@@ -96,7 +96,7 @@ rem
rem Note that echo does not override errorlevel.
rem
echo on
-%cxx% -I%libbutl% -I. -DBUILD2_HOST_TRIPLET=\"i686-w64-mingw32\" %ops% -o build2\b-boot.exe %src%
+%cxx% -I%libbutl% -I. -DBUILD2_HOST_TRIPLET=\"i686-w64-mingw32\" %ops% -o build2\b-boot.exe %src% -lpsapi
@echo off
if errorlevel 1 goto error
diff --git a/bootstrap-msvc.bat b/bootstrap-msvc.bat
index 073a8db..84554c9 100644
--- a/bootstrap-msvc.bat
+++ b/bootstrap-msvc.bat
@@ -138,7 +138,7 @@ for %%d in (%src%) do (
rem Link.
rem
-call :link /Fe: build2\b-boot.exe %obj% shell32.lib
+call :link /Fe: build2\b-boot.exe %obj% shell32.lib psapi.lib
rem Clean up.
rem