diff --git a/makefile b/makefile index 214888f396..9742b0ad12 100644 --- a/makefile +++ b/makefile @@ -209,7 +209,12 @@ test-dep = $(test-build)/dep class-name = $(patsubst $(1)/%.class,%,$(2)) class-names = $(foreach x,$(2),$(call class-name,$(1),$(x))) -flags = -cp $(test-build) +ifeq ($(platform),darwin) + flags = -cp $(classpath-build):$(test-build) +else + flags = -cp $(test-build) +endif + args = $(flags) $(call class-name,$(test-build),$(input)) .PHONY: build