Compare commits

...

1 Commits

Author SHA1 Message Date
Thomas Klaehn
cc851fc929 Workaround: In alpine libftdi is named libftdi1 2019-07-13 22:36:04 +02:00

View File

@ -11,9 +11,13 @@ BIN_DIR = bin
INCLUDES := inc INCLUDES := inc
#Alpine Linux ftdi include path #Alpine Linux names libftdi libftdi1
ifneq "$(findstring Alpine,$(shell head -1 /etc/issue))" ""
INCLUDES += /usr/include/libftdi1 INCLUDES += /usr/include/libftdi1
LIBS := ftdi1
else
LIBS := ftdi LIBS := ftdi
endif
LD_FLAGS := LD_FLAGS :=
C_FLAGS := -O0 -g C_FLAGS := -O0 -g