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.
This commit is contained in:
Lothar Haeger 2019-06-26 09:57:22 +02:00
parent ad2a07a289
commit cb2a09093e
1 changed files with 1 additions and 1 deletions

View File

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