From 5a9766ec6790861b776055ea8f3232c8e2067003 Mon Sep 17 00:00:00 2001 From: SashaXser <24498484+SashaXser@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:59:45 +0400 Subject: [PATCH] Update Makefile --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index adb5dd35..fac5d7b1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,9 +8,9 @@ MINGWLIB = /usr/x86_64-w64-mingw32/lib/ TARGET = goodbyedpi.exe LIBS = -L$(WINDIVERTLIBS) -lWinDivert -lws2_32 -l:libssp.a -CC = $(CPREFIX)clang +CC = clang --target=$(CPREFIX) --sysroot=/usr/$(CPREFIX) -CCWINDRES = $(CPREFIX)llvm-windres +CCWINDRES = llvm-windres --target=$(CPREFIX) ifeq (, $(shell which $(CPREFIX)llvm-windres)) CCWINDRES = llvm-windres endif