From 64056478605b650689c525da620c37b3764fa1dd Mon Sep 17 00:00:00 2001 From: Mark Skilbeck Date: Sun, 4 Jul 2021 16:01:11 +0100 Subject: [PATCH] Makefile: check for ID_LIKE in supported OS test --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index eaa425e4..5c0143b9 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ install-test-deps: ifeq ($(UNAME_S),Linux) ifeq ($(shell sed -n "s/^ID=//p" /etc/os-release),debian) apt-get install -y libblas-dev libffi-dev liblapack-dev +else ifeq ($(shell sed -n "s/^ID_LIKE=//p" /etc/os-release),debian) + apt-get install -y libblas-dev libffi-dev liblapack-dev else ifneq (,$(wildcard /etc/redhat-release)) yum install -y blas-devel libffi-devel lapack-devel else