aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/fetcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'installer/fetcher/Makefile')
-rw-r--r--installer/fetcher/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/fetcher/Makefile b/installer/fetcher/Makefile
index bbec8e17..49b0bc51 100644
--- a/installer/fetcher/Makefile
+++ b/installer/fetcher/Makefile
@@ -9,11 +9,11 @@ DEPLOYMENT_PATH ?= Desktop
CFLAGS += -std=gnu11 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -flto
CFLAGS += -Wall -Wextra
CFLAGS += -MMD -MP
-LDLIBS += -lkernel32 -lwinhttp -lntdll -lshlwapi -lmsi -lcomctl32 -luser32 -lshell32
+LDLIBS += -lkernel32 -lwinhttp -lntdll -lshlwapi -lmsi -lcomctl32 -luser32 -lshell32 -lwintrust
LDFLAGS += -s -flto -Wl,--dynamicbase -Wl,--nxcompat -Wl,--tsaware -mwindows
LDFLAGS += -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1
# The use of -Wl,/delayload: here implies we're using llvm-mingw
-LDFLAGS += -Wl,/delayload:winhttp.dll -Wl,/delayload:msi.dll
+LDFLAGS += -Wl,/delayload:winhttp.dll -Wl,/delayload:msi.dll -Wl,/delayload:wintrust.dll
TARGET := wireguard-installer.exe
CC := i686-w64-mingw32-clang
WINDRES := i686-w64-mingw32-windres