summaryrefslogtreecommitdiff
path: root/postgresql/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql/makefile.mk')
-rw-r--r--postgresql/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 0628d71a6566..3f3bd823ecb4 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -52,15 +52,19 @@ CONFIGURE_DIR=.
BUILD_DIR=src
CONFIGURE_ACTION =
-BUILD_ACTION = nmake -f win32.mak USE_SSL=1
+BUILD_ACTION = nmake -f win32.mak USE_SSL=1 USE_LDAP=1 USE_MOZLDAL=1
.ELSE
CONFIGURE_DIR=.
BUILD_DIR=src/interfaces/libpq
CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl
-.IF "$(WITH_LDAP)" == "YES" && "$(WITH_OPENLDAP)" == "YES"
+.IF "$(WITH_LDAP)" == "YES"
CONFIGURE_ACTION += --with-ldap
.ENDIF
+.IF "$(WITH_OPENLDAP)" != "YES"
+CONFIGURE_ACTION += --with-mozldap
+.ELSE
+.ENDIF
BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib
.ENDIF