fix mod_xml_ldap dependencies on Makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15940 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d8bcbcb2f8
commit
d8b1f9f163
|
@ -7,6 +7,7 @@ LDAP_BUILDDIR=$(switch_builddir)/libs/$(LDAP)
|
|||
LDAPLA=$(LDAP_BUILDDIR)/libraries/libldap_r/libldap_r.la
|
||||
LIBLBERLA=$(LDAP_BUILDDIR)/libraries/liblber/liblber.la
|
||||
|
||||
|
||||
LOCAL_CFLAGS=-DWITH_OPENLDAP -DLDAP_DEPRECATED -I$(LDAP_DIR)/include
|
||||
|
||||
LOCAL_LIBADD=$(LDAPLA) $(LIBLBERLA)
|
||||
|
|
|
@ -18,9 +18,12 @@ DEFAULT_ARGS+= --disable-slapd --disable-slurpd --disable-relay --disable-bdb --
|
|||
|
||||
$(LDAP_DIR):
|
||||
$(GETLIB) $(LDAP).tar.gz
|
||||
|
||||
$(LDAP_BUILDDIR)/Makefile: $(LDAP_DIR)
|
||||
mkdir -p $(LDAP_BUILDDIR)
|
||||
cd $(LDAP_BUILDDIR) && $(DEFAULT_VARS) $(LDAP_DIR)/configure $(DEFAULT_ARGS) --srcdir=$(LDAP_DIR)
|
||||
|
||||
$(LIBLUTILA) $(LDAPLA) $(LIBLBERLA): $(LDAP_DIR)
|
||||
$(LDAPLA) $(LIBLBERLA): $(LDAP_BUILDDIR)/Makefile
|
||||
cd $(LDAP_BUILDDIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
||||
|
|
Loading…
Reference in New Issue