summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-10-14 21:37:31 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-10-14 21:37:31 +0200
commit1f3ec0784818bcbe0e73ea4743a19060163fd9b3 (patch)
treed3169957cefeee233dccd580fd5bcbbd9c815838 /ffi
parentb2026bcc16c1118c201dd5d644a0915a84d0f5e3 (diff)
Fix `make install` on both BSD and Linux.
Closes #581.
Diffstat (limited to 'ffi')
-rw-r--r--ffi/Makefile2
-rw-r--r--ffi/lang/python/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/ffi/Makefile b/ffi/Makefile
index 130a773d..a5540db3 100644
--- a/ffi/Makefile
+++ b/ffi/Makefile
@@ -20,7 +20,7 @@ else
endif
# Tools.
-ifneq ($(filter Darwin BSD,$(shell uname -s)),"")
+ifneq ($(filter Darwin %BSD,$(shell uname -s)),)
INSTALL ?= ginstall
else
INSTALL ?= install
diff --git a/ffi/lang/python/Makefile b/ffi/lang/python/Makefile
index 57e1b91b..e786fe35 100644
--- a/ffi/lang/python/Makefile
+++ b/ffi/lang/python/Makefile
@@ -10,7 +10,7 @@ PYTHON ?= python3
IPYTHON ?= ipython3
PYTEST ?= pytest-3
-ifneq ($(filter Darwin BSD,$(shell uname -s)),"")
+ifneq ($(filter Darwin %BSD,$(shell uname -s)),)
INSTALL ?= ginstall
else
INSTALL ?= install