From 327598e7b4717aea065b432cb0d9eccebd48ed02 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Tue, 14 Aug 2007 16:31:20 +0000 Subject: only include LDAP headers if we build with LDAP support. --- lib/Makefile.netware | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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) -- cgit v1.2.3