[Freeswitch-svn] [commit] r8273 - freeswitch/trunk/src/mod/xml_int/mod_xml_ldap
Freeswitch SVN
stkn at freeswitch.org
Tue May 6 12:03:02 EDT 2008
Author: stkn
Date: Tue May 6 12:03:02 2008
New Revision: 8273
Modified:
freeswitch/trunk/src/mod/xml_int/mod_xml_ldap/Makefile
Log:
mod_xml_ldap: strip -std=c99 from CFLAGS during openldap build (fixes problems w/ arpa/nameser.h on linux) and stop building openldap server components
Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_ldap/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_ldap/Makefile (original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_ldap/Makefile Tue May 6 12:03:02 2008
@@ -8,7 +8,8 @@
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-slurpd --disable-relay --disable-bdb --disable-hdb
LOCAL_LIBADD=$(LDAPLA) $(LIBLBERLA)
@@ -16,7 +17,7 @@
$(LDAP_DIR):
$(GETLIB) $(LDAP).tgz
- 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)
cd $(LDAP_DIR) && $(MAKE)
More information about the Freeswitch-svn
mailing list