aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0025-fix-benchmarks-linking.patch
blob: 608c68128a3a1eb9a14c36aaf49aff93bf9c6bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 978cfcf9253c409520c0f168f8caa249f50a8843 Mon Sep 17 00:00:00 2001
From: Fridolin Pokorny <fpokorny@redhat.com>
Date: Fri, 8 Jan 2016 09:38:29 +0100
Subject: [PATCH 25/38] fix benchmarks linking

---
 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile b/lib/Makefile
index af87795..3bedc34 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -3,7 +3,7 @@ CFLAGS=-g -O2 -Wall
 all: benchmark
 
 benchmark: main.c libthreshold.a
-	gcc $(CFLAGS) -DDEBUG -o $@ $^ -lssl libthreshold.a
+	gcc $(CFLAGS) -DDEBUG -o $@ $^ -lssl -lcrypto libthreshold.a
 
 .o:
 	gcc $(CCFLAGS) -c $< -o $@
-- 
2.7.0