Skip to content

Commit

Permalink
lib-dict: Don't build dict-ldap if --with-ldap=no
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Apr 13, 2016
1 parent cb445bd commit cabe36c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib-dict/Makefile.am
Expand Up @@ -36,11 +36,15 @@ nodist_libdict_backend_a_SOURCES = \
dict-drivers-register.c

NOPLUGIN_LDFLAGS =

if HAVE_LDAP
LIBDICT_LDAP = libdict_ldap.la
endif
libdict_ldap_la_LDFLAGS = -module -avoid-version $(LIBDOVECOT_LDAP)

module_dictdir = $(moduledir)/dict
module_dict_LTLIBRARIES = \
libdict_ldap.la
$(LIBDICT_LDAP)

libdict_ldap_la_SOURCES = \
dict-ldap.c \
Expand Down

0 comments on commit cabe36c

Please sign in to comment.