From c36dbe6eb447239824f0014ec6beae2df9f42a7c Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 22 Mar 2019 16:21:03 +0100 Subject: Fix build on macOS. - Use GNU install, use the correct extension for dynamic libraries. - Fixes #226. --- ffi/lang/python/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ffi/lang/python') diff --git a/ffi/lang/python/Makefile b/ffi/lang/python/Makefile index 78a9481e..f398c0c2 100644 --- a/ffi/lang/python/Makefile +++ b/ffi/lang/python/Makefile @@ -9,7 +9,12 @@ CFLAGS += -I../../include -I../../../openpgp-ffi/include PYTHON ?= python3 IPYTHON ?= ipython3 PYTEST ?= pytest-3 -INSTALL ?= install +ifeq ($(shell uname -s), Darwin) + INSTALL ?= ginstall +else + INSTALL ?= install +endif + CARGO_TARGET_DIR ?= ../../../target -- cgit v1.2.3