Add optional rlottie
Makefile tries to identify if rlottie is installed Update LVGL
This commit is contained in:
parent
e6d6c2b123
commit
4a93612e54
@ -1 +1 @@
|
||||
Subproject commit e7e4a1ab663b9f7bebb31bcd965d44c2b5e052b4
|
||||
Subproject commit 39c2df66babc1c7cd60dc8009e2306908a83975f
|
||||
@ -261,6 +261,11 @@ LIB_SRC_C += $(addprefix lib/,\
|
||||
)
|
||||
endif
|
||||
|
||||
RLOTTIE_AVAILABLE := $(shell echo 'void main(){}' | gcc -lrlottie -x c -o /dev/null - 2> /dev/null; echo $$?)
|
||||
ifeq ($(RLOTTIE_AVAILABLE),0)
|
||||
LDFLAGS_MOD += -lrlottie
|
||||
endif
|
||||
|
||||
SRC_CXX += \
|
||||
$(SRC_MOD_CXX)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user