summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-03-22 16:21:03 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-03-22 16:21:03 +0100
commitc36dbe6eb447239824f0014ec6beae2df9f42a7c (patch)
tree62c0655c362b82b340f3084bee1d0a9ccdab8a8a /sqv
parent6a9e2743d149fecd5d7706b273dc69a45fe25ea2 (diff)
Fix build on macOS.
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sqv/Makefile b/sqv/Makefile
index 10df31b9..4f3d9524 100644
--- a/sqv/Makefile
+++ b/sqv/Makefile
@@ -6,7 +6,11 @@ SQV ?= $(CARGO_TARGET_DIR)/debug/sqv
# Tools.
CARGO ?= cargo
-INSTALL ?= install
+ifeq ($(shell uname -s), Darwin)
+ INSTALL ?= ginstall
+else
+ INSTALL ?= install
+endif
all: src/sqv-usage.rs