From: Mark Wooding Date: Fri, 26 Dec 2008 12:47:12 +0000 (+0000) Subject: Makefile: Link tests against stuff like -lm. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/b2524d68efdcf16f3f7340da16094f17826c7b95 Makefile: Link tests against stuff like -lm. Now that EC validation requires transcendental functions, some of the tests are breaking. This is obviously less than ideal. --- diff --git a/Makefile.m4 b/Makefile.m4 index e85d17c..f495b6f 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -407,7 +407,7 @@ define(`CTESTRIG', $1.to: $1.c $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/$1.c -o $1.to $1.t$(EXEEXT): $1.to libcatacomb.la - $(CC) $(CFLAGS) $(LDFLAGS) $1.to .libs/libcatacomb.a $(LIBS) -o $1.t$(EXEEXT)') + $(CC) $(CFLAGS) $(LDFLAGS) $1.to .libs/libcatacomb.a $(CATACOMB_LIBS) $(LIBS) -o $1.t$(EXEEXT)') CTESTRIG(rc4) CTESTRIG(seal)