From c548d99b51ce9e2468ab55b262a468ecd1096b17 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Tue, 12 Oct 2021 13:22:14 -0400 Subject: [PATCH] Fix fm-common build on Debian Debian point release 11.1 was done over the weekend which caused fm-common's Makefile to only detect python2.7 rather than python3.9. Make sure we are only detecting the os release and not the version number. Task: 2009101 Story: 43601 Signed-off-by: Charles Short Change-Id: I387b0a5436048dc13576d658aa34b5b0db5271ac --- fm-common/sources/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fm-common/sources/Makefile b/fm-common/sources/Makefile index 6c80d429..f992edbf 100755 --- a/fm-common/sources/Makefile +++ b/fm-common/sources/Makefile @@ -17,7 +17,7 @@ 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) +else ifeq ($(OS_ID),debian) LDLIBS += -lpython3.9 INCLUDES += -I/usr/include/python3.9 else