From 3a1a5e0368291e8d05f1e047de55c2c6d5dcb6e6 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 25 Oct 2023 11:33:24 +0200 Subject: [PATCH] Fix linking against static libgc.a Thanks to Thorsten Ball. Fixes #1, #2. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 58091d55e..22df61e4f 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ obj/$(1).$(2).gc.o: src/$(call gc_impl,$(2)) | .deps obj obj/$(1).$(2).o: benchmarks/$(1).c | .deps obj $$(COMPILE) $(call gc_cflags,$(2)) -include api/$(call gc_attrs,$(2)) -c $$< bin/$(1).$(2): obj/$(1).$(2).gc.o obj/$(1).$(2).o obj/gc-stack.o obj/gc-options.o obj/gc-platform.o obj/$(1).gc-ephemeron.o | bin - $$(LINK) $(call gc_libs,$(2)) $$^ + $$(LINK) $$^ $(call gc_libs,$(2)) endef $(foreach BENCHMARK,$(TESTS),\