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 <charles.short@windriver.com>
Change-Id: I387b0a5436048dc13576d658aa34b5b0db5271ac
This commit is contained in:
Charles Short 2021-10-12 13:22:14 -04:00
parent b21a9b080c
commit c548d99b51
1 changed files with 1 additions and 1 deletions

View File

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