From c6a7f6b794827a8cd94971aaff4eade6e900bed5 Mon Sep 17 00:00:00 2001 From: Dimitris Mantzouranis Date: Sat, 14 Sep 2024 17:34:54 +0300 Subject: [PATCH] windows: build with dynamic linking --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c11c91b..8b3c1ac 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ endif ifeq "$(OS)" "windows" CFLAGS+=`pkg-config hidapi --cflags` -LIBS+= -lhidapi -lsetupapi -Wl,--enable-auto-import -static-libgcc -static-libstdc++ +LIBS+= -lhidapi -lsetupapi -Wl,--enable-auto-import EXE=.exe endif