summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-06-21 16:47:05 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-06-21 16:47:05 +0300
commit3b542d1fea82726842e6bfe03ddcbf86345c5b9d (patch)
treefbfca8fd69ba6887dac6718edb9be64ff7a54a81 /Makefile
parentd3ab74f3f8957696077efbac756b52fbbbe49548 (diff)
downloadlibmts-io-3b542d1fea82726842e6bfe03ddcbf86345c5b9d.tar.gz
libmts-io-3b542d1fea82726842e6bfe03ddcbf86345c5b9d.tar.bz2
libmts-io-3b542d1fea82726842e6bfe03ddcbf86345c5b9d.zip
[MTS-MTQ] refactoring: Makefile build static library option fix
Generate index to archive. instead of ranlib.
Diffstat (limited to 'Makefile')
-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)