aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-19 18:05:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-19 18:05:51 +0200
commit4fa46a570b097cfb48e8d483e255e1cea3dc0625 (patch)
tree10dad794a712177e1df9f59918a96fedbde76363
parent79c34dc2feee1d05ee9926501a28c5ec0d6a717a (diff)
Rework MSYS2 BLODA workaround
-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 37d9be9..7884569 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% -lpsapi
+%cxx% -I%libbutl% -I. -DBUILD2_HOST_TRIPLET=\"i686-w64-mingw32\" %ops% -o build2\b-boot.exe %src% -limagehlp
@echo off
if errorlevel 1 goto error
diff --git a/bootstrap-msvc.bat b/bootstrap-msvc.bat
index b0ec1f9..3964d6a 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 psapi.lib
+call :link /Fe: build2\b-boot.exe %obj% shell32.lib imagehlp.lib
rem Clean up.
rem