From 2c824df0a3c470167b3a5fbc99d6e54d4e2c6dae Mon Sep 17 00:00:00 2001 From: Charles Short Date: Thu, 19 Aug 2021 08:48:47 -0400 Subject: [PATCH] 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 Change-Id: I91e40dbe4df6ca0ed7951d47733ebf34856ae3ac --- fm-common/sources/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fm-common/sources/Makefile b/fm-common/sources/Makefile index 70872970..6c80d429 100755 --- a/fm-common/sources/Makefile +++ b/fm-common/sources/Makefile @@ -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