From 6583a9f5e017e0e4f2894a36abeb9a133fb069d6 Mon Sep 17 00:00:00 2001 From: Quinn Date: Fri, 18 Apr 2025 18:19:54 +0200 Subject: [PATCH] fix: include -fuse-ld for windows to handle dll's properly --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index d936b64..6a88d94 100644 --- a/makefile +++ b/makefile @@ -31,7 +31,7 @@ CFLAGS += -target x86_64-pc-linux-gnu LDFLAGS += -target x86_64-pc-linux-gnu else ifeq ($(ARCH),win-x86_64) CFLAGS += -target x86_64-pc-windows-gnu -LDFLAGS += -target x86_64-pc-windows-gnu +LDFLAGS += -target x86_64-pc-windows-gnu -fuse-ld=lld EXT := .exe else $(error you must set the ARCH environment variable to one of these: 'linux-x86_64' 'win-x86_64')