1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-05-11 11:19:48 +00:00

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

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 =