From 6c2dba6a47d2399266fdb4eabf480432313809a8 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 29 Sep 2021 09:33:19 -0400 Subject: [PATCH] Add libRack to Rack SDK on Linux and Mac. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4fcebc9..fe143a1e 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ endif DIST_RES := res cacert.pem Core.json template.vcv LICENSE-GPLv3.txt DIST_NAME := Rack-"$(VERSION)"-$(ARCH_OS_NAME) DIST_SDK_DIR := Rack-SDK -DIST_SDK := Rack-SDK-$(VERSION).zip +DIST_SDK := Rack-SDK-"$(VERSION)"-$(ARCH_OS_NAME).zip ifdef ARCH_MAC DIST_BUNDLE := VCV Rack $(VERSION_MAJOR).app else @@ -229,6 +229,8 @@ endif cp -R dep/include dist/"$(DIST_SDK_DIR)"/dep/ ifdef ARCH_WIN cp libRack.dll.a dist/"$(DIST_SDK_DIR)"/ +else + cp $(TARGET) dist/"$(DIST_SDK_DIR)"/ endif cd dist && zip -q -9 -r "$(DIST_SDK)" "$(DIST_SDK_DIR)"