From a78e5ce08e4651ae3b1f7f89eda2873b25f68e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Gr=C3=A4f?= <aggraef@gmail.com> Date: Tue, 23 Jul 2019 16:14:03 +0200 Subject: [PATCH] Fix compilation for latest Pd version on macOS. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0ecbfe9..9f89402 100644 --- a/Makefile +++ b/Makefile @@ -120,8 +120,8 @@ ifeq ($(UNAME),Darwin) EXTENSION = pd_darwin SHARED_EXTENSION = dylib OS = macosx - PD_PATH = $(wildcard /Applications/Pd-0*.app/Contents/Resources) - PD_INCLUDE = $(PD_PATH)/include + PD_PATH = $(lastword $(wildcard /Applications/Pd-0*.app/Contents/Resources)) + PD_INCLUDE = $(PD_PATH)/src OPT_CFLAGS = -ftree-vectorize # uncomment this to build fat binaries #FAT_BINARIES = 1 -- GitLab