From cb2a09093e88270b7f6e88030af5a7bbc1733920 Mon Sep 17 00:00:00 2001 From: Lothar Haeger Date: Wed, 26 Jun 2019 09:57:22 +0200 Subject: [PATCH] Makefile comaptibility with macOS macOS ships BSD uname, which has no option "-o", so make fails. Change this to use bash ${OSTYPE} instead, which is platform independent. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b5124872..0ae174b9 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ PREFIX ?= /usr/local # - compile generates .pyd instead of .so # - venv with --sytem-site-packages has issues on windows as well... -ifeq ($(shell uname -o), Msys) +ifeq ($(OSTYPE), msys) BIN = Scripts SO = *.pyd VENV_OPTIONS =