diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-09 09:13:10 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-12 09:19:39 +0200 |
commit | 356048e2a95502a37e4ce413ddbefab5320737db (patch) | |
tree | 682ffed5ee3e0d38273e40b2017a30acafe40687 /installer/build.bat | |
parent | build: fix batch file status returning (diff) | |
download | wireguard-windows-356048e2a95502a37e4ce413ddbefab5320737db.tar.xz wireguard-windows-356048e2a95502a37e4ce413ddbefab5320737db.zip |
installer: clean up logic
Diffstat (limited to 'installer/build.bat')
-rw-r--r-- | installer/build.bat | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/installer/build.bat b/installer/build.bat index 8d438af9..1f9fa729 100644 --- a/installer/build.bat +++ b/installer/build.bat @@ -61,9 +61,8 @@ if exist .deps\prepared goto :build set LDFLAGS=-shared -s -Wl,--kill-at -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 set LDLIBS=-lmsi -lole32 -lshlwapi if not exist "%~1" mkdir "%~1" - echo [+] Compiling custom actions %1 - %CC% %CFLAGS% %LDFLAGS% -o "%~1\customactions.dll" customactions.c %LDLIBS% || exit /b 1 echo [+] Compiling %1 + %CC% %CFLAGS% %LDFLAGS% -o "%~1\customactions.dll" customactions.c %LDLIBS% || exit /b 1 "%WIX%bin\candle" %WIX_CANDLE_FLAGS% -dWIREGUARD_PLATFORM="%~1" -out "%~1\wireguard.wixobj" -arch %3 wireguard.wxs || exit /b %errorlevel% echo [+] Linking %1 "%WIX%bin\light" %WIX_LIGHT_FLAGS% -out "dist\wireguard-%~1-%WIREGUARD_VERSION%.msi" "%~1\wireguard.wixobj" || exit /b %errorlevel% |