aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-12-02 18:32:57 +0100
committerMattias Andrée <maandree@operamail.com>2013-12-02 18:32:57 +0100
commit15bdc2e6531df7a0873149f224f68c2b7208b6d7 (patch)
tree1e7e5da945f5ed54fef8af6701b2cefcb34af028 /Makefile
parenttypo (diff)
downloadcerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.gz
cerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.bz2
cerberus-15bdc2e6531df7a0873149f224f68c2b7208b6d7.tar.xz
no need for libpassphrase of auth=none
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a48aa53..53883dd 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,10 @@ VRB_CPPFLAGS = $(foreach D, $(VRB_DEFS), -D'$(D)=$($(D))') -DAUTH=$(auth_$(AUTH)
OPTIMISE = -Os
CPPFLAGS = $(EXTRA_CPP_FLAGS) $(STR_CPPFLAGS) $(VRB_CPPFLAGS)
CFLAGS = -std=gnu99 -Wall -Wextra
-LDFLAGS = -lpassphrase
+LDFLAGS =
+ifneq ($(AUTH),none)
+LDFLAGS += -lpassphrase
+endif
ifeq ($(AUTH),crypt)
LDFLAGS += -lcrypt
endif