From: Niels Möller Date: Wed, 22 Sep 2010 12:55:51 +0000 (+0200) Subject: (nettle-benchmark): Link using $(BENCH_LIBS) rather than $(LIBS). X-Git-Tag: nettle_2.2_release_20110711~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1578b08990ef4aeae77414521745fbe8d658f4d5;p=thirdparty%2Fnettle.git (nettle-benchmark): Link using $(BENCH_LIBS) rather than $(LIBS). Rev: nettle/examples/Makefile.in:1.9 --- diff --git a/examples/Makefile.in b/examples/Makefile.in index 2a6632d1..a3b07905 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -11,6 +11,8 @@ PRE_CPPFLAGS = -I.. -I$(top_srcdir) PRE_LDFLAGS = -L.. OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@ +BENCH_LIBS = @BENCH_LIBS@ + RSA_TARGETS = rsa-keygen$(EXEEXT) rsa-sign$(EXEEXT) \ rsa-verify$(EXEEXT) rsa-encrypt$(EXEEXT) rsa-decrypt$(EXEEXT) TARGETS = nettle-benchmark$(EXEEXT) eratosthenes$(EXEEXT) @IF_HOGWEED@ $(RSA_TARGETS) next-prime$(EXEEXT) random-prime$(EXEEXT) @@ -66,7 +68,7 @@ eratosthenes$(EXEEXT): eratosthenes.$(OBJEXT) $(GETOPT_OBJS) nettle-benchmark$(EXEEXT): nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) $(GETOPT_OBJS) $(LINK) nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS) \ - -lnettle $(LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT) + -lnettle $(BENCH_LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT) $(TARGETS) : io.$(OBJEXT) ../libnettle.a