From cc2b79f44bd9812b5c4d6aad1e6e681d8ac58e6e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 8 Oct 2020 17:45:55 -0400 Subject: [PATCH] Fix osxcross PATH. Remove osxcross build after installing it. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86a622f..c60ecfc 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ $(toolchain-mac): # Build osxcross cp MacOSX10.13.sdk.tar.bz2 $@/tarballs/ cd $@ && UNATTENDED=1 TARGET_DIR="$(LOCAL_DIR)/osxcross" ./build.sh + rm -rf osxcross rack-sdk := Rack-SDK @@ -83,7 +84,7 @@ toolchain-clean: PLUGIN_BUILD_DIR := plugin-build -plugin-build-mac: export PATH := $(PWD)/osxcross/target/bin:$(PATH) +plugin-build-mac: export PATH := $(LOCAL_DIR)/osxcross/bin:$(PATH) plugin-build-mac: export CC := x86_64-apple-darwin17-clang plugin-build-mac: export CXX := x86_64-apple-darwin17-clang++-libc++ plugin-build-mac: export STRIP := x86_64-apple-darwin17-strip