Add optional rlottie

Makefile tries to identify if rlottie is installed

Update LVGL
This commit is contained in:
Amir Gonnen 2021-11-02 23:34:06 +02:00
parent e6d6c2b123
commit 4a93612e54
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit e7e4a1ab663b9f7bebb31bcd965d44c2b5e052b4
Subproject commit 39c2df66babc1c7cd60dc8009e2306908a83975f

View File

@ -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)