From aced7b5b00b4eb2c5844b1529964ddbf1ea9afa7 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Tue, 21 May 2013 13:20:02 +0800
Subject: [PATCH] Fix static library order, libtomcrypt depends on libtommath

--HG--
branch : ecc
---
 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 8d8d2798..4f13d1dc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -17,9 +17,9 @@ LTC=libtomcrypt/libtomcrypt.a
 LTM=libtommath/libtommath.a
 
 ifeq (@BUNDLED_LIBTOM@, 1)
-LIBTOM_DEPS=$(LTM) $(LTC)
+LIBTOM_DEPS=$(LTC) $(LTM) 
 CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
-LIBS+=$(LTM) $(LTC)
+LIBS+=$(LTC) $(LTM) 
 endif
 
 COMMONOBJS=dbutil.o buffer.o \
-- 
GitLab