From b94c64f5e80bef3394cbe10a932c16778f5e3630 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 3 Apr 2026 11:51:42 +0300 Subject: [PATCH] Update Makefile.win --- Makefile.win | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.win b/Makefile.win index 655b702..4d57e35 100644 --- a/Makefile.win +++ b/Makefile.win @@ -17,7 +17,7 @@ LDFLAGS ?= -O2 -s -mthreads DLFLAGS ?= -shared DLSUFFICS = .dll LIBS := -lws2_32 -lodbc32 -ladvapi32 -luser32 $(LIBS) -LIBSPREFIX = lib +LIBSPREFIX = -l LIBSSUFFIX = .lib LNOUT = -o EXESUFFICS = .exe @@ -45,7 +45,7 @@ PAM_CHECK = $(shell echo "\#include \\n int main(){return 0 ifeq ($(PAM_CHECK), true) PLUGINS += PamAuth endif -PCRE_CHECK = $(shell echo "\#define PCRE2_CODE_UNIT_WIDTH 8\\n#include \\n int main(){return 0;}" | tr -d '\\\\' | cc -x c $(CFLAGS) $(LDFLAGS) pcre2-8.lib -o testpcre - 2>/dev/null && rm testpcre && echo true||echo false) +PCRE_CHECK = $(shell echo "\#define PCRE2_CODE_UNIT_WIDTH 8\\n#include \\n int main(){return 0;}" | tr -d '\\\\' | cc -x c $(CFLAGS) $(LDFLAGS) -lpcre2-8.lib -o testpcre - 2>/dev/null && rm testpcre && echo true||echo false) ifeq ($(PCRE_CHECK), true) PLUGINS += PCREPlugin endif