summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ace73f..8472075 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0
all: $(APPNAME).a $(SONAME)
$(APPNAME).a: $(OBJS)
- $(AR) -r $@ $?
+ $(AR) -rs $@ $?
$(SONAME): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $? $(LDLIBS)