Skip to content

Commit

Permalink
Update win32-configure.bat.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Dec 24, 2024
1 parent 40389b9 commit 6b1531c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions patches_install_mswin/win32-configure.bat.patch
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
diff --git a/win32/configure.bat b/win32/configure.bat
index bad09cd3f5..2659b06181 100755
index bad09cd3f5..9d3c83420d 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -248,8 +248,8 @@ goto :loop ;
@@ -247,11 +247,8 @@ goto :loop ;
set opt=%~2
for %%I in (%opt:;= %) do (
set d=%%I
call pushd %%d:/=\%% && (
- call pushd %%d:/=\%% && (
- call set XINCFLAGS=%%XINCFLAGS%% -I%%CD:\=/%%/include
- call set XLDFLAGS=%%XLDFLAGS%% -libpath:%%CD:\=/%%/lib
+ call set XINCFLAGS=%XINCFLAGS% -I%CD:\=/%/include
+ call set XLDFLAGS=%XLDFLAGS% -libpath:%CD:\=/%/lib
popd
)
- popd
- )
+ call set XINCFLAGS=%%XINCFLAGS%% -I%%d:\=/%%/include
+ call set XLDFLAGS=%%XLDFLAGS%% -libpath:%%d:\=/%%/lib
)
:witharg
echo>>%confargs% %1=%2\

0 comments on commit 6b1531c

Please sign in to comment.