mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
only include LDAP headers if we build with LDAP support.
This commit is contained in:
parent
11caaad5f9
commit
327598e7b4
@ -174,13 +174,14 @@ ifeq ($(LIBARCH),LIBC)
|
|||||||
INCLUDES += -I$(SDK_LIBC)/include
|
INCLUDES += -I$(SDK_LIBC)/include
|
||||||
# INCLUDES += -I$(SDK_LIBC)/include/nks
|
# INCLUDES += -I$(SDK_LIBC)/include/nks
|
||||||
# INCLUDES += -I$(SDK_LIBC)/include/winsock
|
# INCLUDES += -I$(SDK_LIBC)/include/winsock
|
||||||
INCLUDES += -I$(SDK_LDAP)/libc/inc
|
|
||||||
CFLAGS += -D_POSIX_SOURCE
|
CFLAGS += -D_POSIX_SOURCE
|
||||||
else
|
else
|
||||||
INCLUDES += -I$(SDK_CLIB)/include/nlm
|
INCLUDES += -I$(SDK_CLIB)/include/nlm
|
||||||
# INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete
|
# INCLUDES += -I$(SDK_CLIB)/include/nlm/obsolete
|
||||||
# INCLUDES += -I$(SDK_CLIB)/include
|
# INCLUDES += -I$(SDK_CLIB)/include
|
||||||
INCLUDES += -I$(SDK_LDAP)/clib/inc
|
endif
|
||||||
|
ifndef DISABLE_LDAP
|
||||||
|
INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
|
||||||
endif
|
endif
|
||||||
CFLAGS += $(INCLUDES)
|
CFLAGS += $(INCLUDES)
|
||||||
|
|
||||||
|
@ -172,12 +172,13 @@ ifeq ($(LIBARCH),LIBC)
|
|||||||
INCLUDES += -I$(SDK_LIBC)/include
|
INCLUDES += -I$(SDK_LIBC)/include
|
||||||
# INCLUDES += -I$(SDK_LIBC)/include/nks
|
# INCLUDES += -I$(SDK_LIBC)/include/nks
|
||||||
# INCLUDES += -I$(SDK_LIBC)/include/winsock
|
# INCLUDES += -I$(SDK_LIBC)/include/winsock
|
||||||
# INCLUDES += -I$(SDK_LDAP)/libc/inc
|
|
||||||
CFLAGS += -D_POSIX_SOURCE
|
CFLAGS += -D_POSIX_SOURCE
|
||||||
else
|
else
|
||||||
INCLUDES += -I$(SDK_CLIB)/include/nlm
|
INCLUDES += -I$(SDK_CLIB)/include/nlm
|
||||||
# INCLUDES += -I$(SDK_CLIB)/include
|
# INCLUDES += -I$(SDK_CLIB)/include
|
||||||
# INCLUDES += -I$(SDK_LDAP)/clib/inc
|
endif
|
||||||
|
ifndef DISABLE_LDAP
|
||||||
|
# INCLUDES += -I$(SDK_LDAP)/$(LIBARCH_L)/inc
|
||||||
endif
|
endif
|
||||||
CFLAGS += $(INCLUDES)
|
CFLAGS += $(INCLUDES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user