diff options
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) |