mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
FSBUILD-189
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14725 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9bb90c8514
commit
547bc567f0
@ -8,7 +8,8 @@ LIBLBERLA=$(LDAP_DIR)/libraries/liblber/liblber.la
|
|||||||
|
|
||||||
LOCAL_CFLAGS=-DWITH_OPENLDAP -DLDAP_DEPRECATED -I$(LDAP_DIR)/include
|
LOCAL_CFLAGS=-DWITH_OPENLDAP -DLDAP_DEPRECATED -I$(LDAP_DIR)/include
|
||||||
|
|
||||||
DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
|
DEFAULT_ARGS= --prefix=$(PREFIX) --disable-shared --with-pic --disable-slapd
|
||||||
|
DEFAULT_ARGS+= --disable-bdb --disable-hdb
|
||||||
|
|
||||||
LOCAL_LIBADD=$(LDAPLA) $(LIBLBERLA)
|
LOCAL_LIBADD=$(LDAPLA) $(LIBLBERLA)
|
||||||
|
|
||||||
@ -16,7 +17,7 @@ include $(switch_srcdir)/build/modmake.rules
|
|||||||
|
|
||||||
$(LDAP_DIR):
|
$(LDAP_DIR):
|
||||||
$(GETLIB) $(LDAP).tar.gz
|
$(GETLIB) $(LDAP).tar.gz
|
||||||
cd $(LDAP_DIR) && ./configure $(DEFAULT_ARGS) --disable-bdb --disable-hdb --disable-slapd
|
cd $(LDAP_DIR) && CFLAGS="`echo $(CFLAGS) | sed -e 's:-std=c99::'`" ./configure $(DEFAULT_ARGS)
|
||||||
|
|
||||||
$(LDAPLA) $(LIBLBERLA): $(LDAP_DIR)
|
$(LDAPLA) $(LIBLBERLA): $(LDAP_DIR)
|
||||||
cd $(LDAP_DIR) && $(MAKE)
|
cd $(LDAP_DIR) && $(MAKE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user