diff options
author | Christian Wiese <chris@opensde.org> | 2014-04-11 11:08:49 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2014-04-11 12:06:43 +0200 |
commit | 469ae2c2bea5e619e5632e53bfb5da8da31dd1b2 (patch) | |
tree | 590887786b9aa20fb3d0bd15c3502c3d0e1f5eee /curvetun/Makefile | |
parent | 453f6eb9d79dd5aa2812ef956b22723f0a493086 (diff) |
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 <chris@opensde.org>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curvetun/Makefile')
-rw-r--r-- | curvetun/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |