Add support for python3.9

Add support for Debian bullseye and python3.9 support.
Tested by compiling on both Centos7 and Debian bullseye.

Story: 2009101
Task: 43052

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I91e40dbe4df6ca0ed7951d47733ebf34856ae3ac
This commit is contained in:
Charles Short 2021-08-19 08:48:47 -04:00
parent 83f5caa9b7
commit 2c824df0a3
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
LDLIBS += -lpython3.6m
INCLUDES += -I/usr/include/python3.6m
CCFLAGS += -Werror
else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-11)
LDLIBS += -lpython3.9
INCLUDES += -I/usr/include/python3.9
else
INCLUDES += -I/usr/include/python2.7
LDLIBS += -lpython2.7