aboutsummaryrefslogtreecommitdiff
path: root/Makefile.linux
diff options
context:
space:
mode:
authorLadislav Zezula <E:\Ladik\Mail>2016-01-30 16:44:45 +0100
committerLadislav Zezula <E:\Ladik\Mail>2016-01-30 16:44:45 +0100
commitf764c5a96294514559b17c3561be08cf1d304522 (patch)
treed05707ef223af3510ac7558433db84ced6e016b9 /Makefile.linux
parentfbffac2b07d3ca297c1b5792978c0d5beed0c5ac (diff)
+ fixed the _ltc_mp symbol being undefined after make with Makefile.linux
Diffstat (limited to 'Makefile.linux')
-rw-r--r--Makefile.linux4
1 files changed, 3 insertions, 1 deletions
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