8000 Fix Windows build · arduino/BOSSA@52e0a4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 52e0a4a

Browse files
committed
Fix Windows build
1 parent 377017d commit 52e0a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ INSTALLDIR=install
2828
#
2929
# Determine OS
3030
#
31-
OS:=$(shell uname -s | cut -c -7)
31+
OS?=$(shell uname -s | cut -c -7)
3232

3333
#
3434
# Windows rules
@@ -39,7 +39,7 @@ WXVERSION=3.1
3939
EXE=.exe
4040
COMMON_SRCS+=WinSerialPort.cpp WinPortFactory.cpp
4141
COMMON_LDFLAGS=-Wl,--enable-auto-import -static -static-libstdc++ -static-libgcc
42-
COMMON_LIBS=-ltermcap -Wl,--as-needed -lsetupapi
42+
COMMON_LIBS=-Wl,--as-needed -lsetupapi
4343
BOSSA_RC=BossaRes.rc
4444
WIXDIR="C:\Program Files (x86)\WiX Toolset v3.11\bin"
4545
CODE_SIGN=$(INSTALLDIR)\\code_sign.p12

0 commit comments

Comments
 (0)
0