1 From 04223f5e24c807467d4ff0b254845843fd8f8a47 Mon Sep 17 00:00:00 2001
2 From: Nick Bowler <nbowler@draconx.ca>
3 Date: Fri, 21 Apr 2017 16:03:47 -0400
4 Subject: [PATCH 2/5] Respect AR.
9 2 files changed, 1 insertion(+), 2 deletions(-)
11 diff --git a/Makefile b/Makefile
12 index 45942c1..9401cf0 100644
15 @@ -95,7 +95,6 @@ help:
17 $(SRC_LIBDIR)/libfmap.a:
18 @$(MAKE) -C $(SRC_LIBDIR)
19 - ar rcs $@ $(SRC_LIBDIR)/*.o
21 $(SHARED_OBJ_FILE): $(SRC_LIBDIR)/libfmap.a
22 $(CC) $(CFLAGS) $(LINKOPTS) -shared -Wl,-soname,$(SHARED_OBJ_SONAME) -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive
23 diff --git a/lib/Makefile b/lib/Makefile
24 index bb65449..7d02dcb 100644
27 @@ -54,7 +54,7 @@ $(MINCRYPT)/sha.o:
28 @$(MAKE) -C $(MINCRYPT)
30 libfmap.a: $(OBJS) $(DEPS)
35 $(CC) $(ALL_CFLAGS) -c $^ -I. -I$(INCLUDES) -o $@