winws: get rid of uuid.lib to reduce exe size

This commit is contained in:
bol-van 2024-11-13 22:41:58 +03:00
parent 46d31003e2
commit 9ec2d685e3
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ CFLAGS_MAC = -mmacosx-version-min=10.8
CFLAGS_CYGWIN = -Wno-address-of-packed-member -static CFLAGS_CYGWIN = -Wno-address-of-packed-member -static
LIBS_LINUX = -lnetfilter_queue -lnfnetlink -lz LIBS_LINUX = -lnetfilter_queue -lnfnetlink -lz
LIBS_BSD = -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_CYGWIN32 = -lwindivert32
LIBS_CYGWIN64 = -lwindivert64 LIBS_CYGWIN64 = -lwindivert64
RES_CYGWIN32 = windows/res/32/winmanifest.o windows/res/32/winicon.o RES_CYGWIN32 = windows/res/32/winmanifest.o windows/res/32/winicon.o

View File

@ -22,6 +22,7 @@
#endif #endif
#ifdef __CYGWIN__ #ifdef __CYGWIN__
#define INITGUID
#include "windivert/windivert.h" #include "windivert/windivert.h"
#endif #endif