From 7b7f24923480bf309c0fca6ba4b3586ac360d08e Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 25 Jun 2018 20:39:44 -0400 Subject: [PATCH] Remove need for libRack.a. Now SDK can be built cross-platform, woohoo! --- Makefile | 5 +---- plugin.mk | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 95b6b94b..aa1dc4cb 100644 --- a/Makefile +++ b/Makefile @@ -155,10 +155,7 @@ endif cp -R include dist/Rack-SDK/ mkdir -p dist/Rack-SDK/dep/ cp -R dep/include dist/Rack-SDK/dep/ -ifdef ARCH_WIN - cp libRack.a dist/Rack-SDK/ -endif - cd dist && zip -5 -r Rack-SDK-$(VERSION)-$(ARCH).zip Rack-SDK + cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK # Obviously this will only work if you have the private keys to my server diff --git a/plugin.mk b/plugin.mk index 35f2c30e..e35e55e8 100644 --- a/plugin.mk +++ b/plugin.mk @@ -28,7 +28,7 @@ ifdef ARCH_MAC endif ifdef ARCH_WIN - LDFLAGS += -shared -L$(RACK_DIR) -lRack + LDFLAGS += -shared TARGET := plugin.dll RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack endif