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 /lib | |
parent | 11caaad5f91019ab3f4539e98e0b4c9a0dc4eafe (diff) |
only include LDAP headers if we build with LDAP support.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.netware | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware index 5d962b514..6aa38c49d 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -174,13 +174,14 @@ 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/nlm/obsolete # 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) |