From f764c5a96294514559b17c3561be08cf1d304522 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Sat, 30 Jan 2016 16:44:45 +0100 Subject: + fixed the _ltc_mp symbol being undefined after make with Makefile.linux --- Makefile.linux | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.linux') diff --git a/Makefile.linux b/Makefile.linux index c588d61..ff81e98 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -265,6 +265,7 @@ COBJS = src/libtomcrypt/src/hashes/sha1.o \ LIB = libStorm.so SLIB = libStorm.a +SLIBA = $(SLIB) all: $(OBJS) $(COBJS) $(LIB) $(SLIB) @@ -272,7 +273,7 @@ $(LIB): $(OBJS) $(COBJS) $(C++) $(ARCH) -shared -o $(LIB) $(OBJS) $(COBJS) $(LFLAGS) $(SLIB): $(OBJS) $(COBJS) - $(AR) rcs $(SLIB) $(OBJS) $(COBJS) + $(AR) rcS $(SLIB) $(OBJS) $(COBJS) clean: rm -f $(OBJS) $(COBJS) $(LIB) @@ -286,6 +287,7 @@ $(COBJS): %.o: %.c $(LIB): $(OBJS) $(COBJS) all: $(LIB) + ranlib -c $(SLIB) install: $(LIB) install $(LIB) /usr/local/lib -- cgit v1.2.3