From 411d0d6e4a1213a1e4d1d4f0737e5d32001e53a3 Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Mon, 9 Sep 2019 20:23:37 -0500 Subject: [PATCH] Cross platform fix for makefile #575 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b5124872..c44eed1b 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 ($(shell ${PYTHON} -c "import platform; print(platform.system())"), Windows) BIN = Scripts SO = *.pyd VENV_OPTIONS =