From 52e0a4a28721296e64083de7780b30580e0fad16 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Wed, 10 Jul 2019 11:43:01 +0200 Subject: [PATCH] Fix Windows build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 87643990..6095f868 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ INSTALLDIR=install # # Determine OS # -OS:=$(shell uname -s | cut -c -7) +OS?=$(shell uname -s | cut -c -7) # # Windows rules @@ -39,7 +39,7 @@ WXVERSION=3.1 EXE=.exe COMMON_SRCS+=WinSerialPort.cpp WinPortFactory.cpp COMMON_LDFLAGS=-Wl,--enable-auto-import -static -static-libstdc++ -static-libgcc -COMMON_LIBS=-ltermcap -Wl,--as-needed -lsetupapi +COMMON_LIBS=-Wl,--as-needed -lsetupapi BOSSA_RC=BossaRes.rc WIXDIR="C:\Program Files (x86)\WiX Toolset v3.11\bin" CODE_SIGN=$(INSTALLDIR)\\code_sign.p12