diff options
author | Gunter Knauf <gk@gknw.de> | 2007-08-25 12:08:38 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2007-08-25 12:08:38 +0000 |
commit | 870842ccee5bb9c116547f29dbb1c548979e0728 (patch) | |
tree | 2b480f3ad89534940af5a1810790f3087e2dc321 /src | |
parent | 68b215157fdf69612edebdb220b3804822277822 (diff) |
only link with -lwldap32 if we dont use other LDAP SDKs.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.m32 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32 index 2aea0a52a..30ba77bbd 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -99,7 +99,12 @@ ifdef USE_LDAP_OPENLDAP CFLAGS += -DCURL_HAS_OPENLDAP_LDAPSDK curl_LDADD += -L"$(LDAP_SDK)/lib" -lldap -llber endif -curl_LDADD += -lws2_32 -lwinmm -lwldap32 +ifndef USE_LDAP_NOVELL +ifndef USE_LDAP_OPENLDAP +curl_LDADD += -lwldap32 +endif +endif +curl_LDADD += -lws2_32 -lwinmm COMPILE = $(CC) $(INCLUDES) $(CFLAGS) # Makefile.inc provides the CSOURCES and HHEADERS defines |