From 90ce26986920d0475834354cd351f636042875b7 Mon Sep 17 00:00:00 2001 From: flamingcow Date: Tue, 7 May 2019 23:26:16 -0700 Subject: [PATCH] More robust ar merge method --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 763bbf0..1ee5511 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ _firebuf: $(MAKE) --directory=firebuf firecgi.a: $(objects) _firebuf - ar rcs $@ $(objects) $(addprefix firebuf/,$(shell ar t firebuf/firebuf.a)) + ar x firebuf/firebuf.a + ar rcs $@ $(objects) $(shell ar t firebuf/firebuf.a) example_simple: example_simple.o firecgi.a $(FIRE_CXX) $(FIRE_CXXFLAGS) -o $@ $+ $(FIRE_LDLIBS)