mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-12 03:29:49 +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:
parent
ad2a07a289
commit
cb2a09093e
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ PREFIX ?= /usr/local
|
|||||||
# - compile generates .pyd instead of .so
|
# - compile generates .pyd instead of .so
|
||||||
# - venv with --sytem-site-packages has issues on windows as well...
|
# - venv with --sytem-site-packages has issues on windows as well...
|
||||||
|
|
||||||
ifeq ($(shell uname -o), Msys)
|
ifeq ($(OSTYPE), msys)
|
||||||
BIN = Scripts
|
BIN = Scripts
|
||||||
SO = *.pyd
|
SO = *.pyd
|
||||||
VENV_OPTIONS =
|
VENV_OPTIONS =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user