diff --git a/Makefile b/Makefile index aa1dc4cb..95b6b94b 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,10 @@ endif cp -R include dist/Rack-SDK/ mkdir -p dist/Rack-SDK/dep/ cp -R dep/include dist/Rack-SDK/dep/ - cd dist && zip -5 -r Rack-SDK-$(VERSION).zip Rack-SDK +ifdef ARCH_WIN + cp libRack.a dist/Rack-SDK/ +endif + cd dist && zip -5 -r Rack-SDK-$(VERSION)-$(ARCH).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 e35e55e8..35f2c30e 100644 --- a/plugin.mk +++ b/plugin.mk @@ -28,7 +28,7 @@ ifdef ARCH_MAC endif ifdef ARCH_WIN - LDFLAGS += -shared + LDFLAGS += -shared -L$(RACK_DIR) -lRack TARGET := plugin.dll RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack endif