From 9ec2d685e37c96e9c626408faf4b3be6540453a8 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 13 Nov 2024 22:41:58 +0300 Subject: [PATCH] winws: get rid of uuid.lib to reduce exe size --- nfq/Makefile | 2 +- nfq/darkmagic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nfq/Makefile b/nfq/Makefile index e2a1779..8e4c058 100644 --- a/nfq/Makefile +++ b/nfq/Makefile @@ -5,7 +5,7 @@ CFLAGS_MAC = -mmacosx-version-min=10.8 CFLAGS_CYGWIN = -Wno-address-of-packed-member -static LIBS_LINUX = -lnetfilter_queue -lnfnetlink -lz LIBS_BSD = -lz -LIBS_CYGWIN = -lz -Lwindows/windivert -Iwindows -lwlanapi -lole32 -loleaut32 -luuid +LIBS_CYGWIN = -lz -Lwindows/windivert -Iwindows -lwlanapi -lole32 -loleaut32 LIBS_CYGWIN32 = -lwindivert32 LIBS_CYGWIN64 = -lwindivert64 RES_CYGWIN32 = windows/res/32/winmanifest.o windows/res/32/winicon.o diff --git a/nfq/darkmagic.h b/nfq/darkmagic.h index 0d00de7..1426682 100644 --- a/nfq/darkmagic.h +++ b/nfq/darkmagic.h @@ -22,6 +22,7 @@ #endif #ifdef __CYGWIN__ +#define INITGUID #include "windivert/windivert.h" #endif