diff options
author | Gunter Knauf <gk@gknw.de> | 2007-08-14 16:31:20 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-08-14 16:31:20 +0000 |
commit | 327598e7b4717aea065b432cb0d9eccebd48ed02 (patch) | |
tree | 756967956a43fff6231113f61d8b4b287b7a3976 /src | |
parent | 11caaad5f91019ab3f4539e98e0b4c9a0dc4eafe (diff) |
only include LDAP headers if we build with LDAP support.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.netware | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware index ec75ab709..f9107730e 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -172,12 +172,13 @@ ifeq ($(LIBARCH),LIBC) INCLUDES += -I$(SDK_LIBC)/include # INCLUDES += -I$(SDK_LIBC)/include/nks # INCLUDES += -I$(SDK_LIBC)/include/winsock - # INCLUDES += -I$(SDK_LDAP)/libc/inc CFLAGS += -D_POSIX_SOURCE else INCLUDES += -I$(SDK_CLIB)/include/nlm # INCLUDES += -I$(SDK_CLIB)/include - # INCLUDES += -I$(SDK_LDAP)/clib/inc +endif +ifndef DISABLE_LDAP + # INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc endif CFLAGS += $(INCLUDES) |