git.ucc.asn.au
/
tpg
/
opendispense2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed references to LDAP when USE_LDAP is undefined
[tpg/opendispense2.git]
/
src
/
cokebank_basic
/
Makefile
diff --git
a/src/cokebank_basic/Makefile
b/src/cokebank_basic/Makefile
index
6aa55df
..
7a0d815
100644
(file)
--- a/
src/cokebank_basic/Makefile
+++ b/
src/cokebank_basic/Makefile
@@
-6,6
+6,11
@@
CPPFLAGS :=
CFLAGS := -Wall -Werror -g -fPIC
LDFLAGS := -shared -Wl,-soname,cokebank.so
+ifneq ($(USE_LDAP),)
+ CFLAGS += -DUSE_LDAP
+ LDFLAGS += -lldap
+endif
+
.PHONY: all clean
all: $(BIN)
UCC
git Repository :: git.ucc.asn.au