From 469ae2c2bea5e619e5632e53bfb5da8da31dd1b2 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 11 Apr 2014 11:08:49 +0200 Subject: build: curvetun: add NACL_LIB variable to configure to be able to set an alternative lib This way one can simply set an alternative lib like libsodium for linking the curvetun binary. The current default linking against libnacl is preserved! To link curvetun against libsodium you can set NACL_LIB=sodium Signed-off-by: Christian Wiese Signed-off-by: Daniel Borkmann --- curvetun/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'curvetun') diff --git a/curvetun/Makefile b/curvetun/Makefile index 6d996b0..eeebd11 100644 --- a/curvetun/Makefile +++ b/curvetun/Makefile @@ -1,4 +1,4 @@ -curvetun-libs = -lnacl \ +curvetun-libs = -l${CONFIG_NACL_LIB} \ -lpthread curvetun-objs = xmalloc.o \ -- cgit v1.2.3-54-g00ecf