a fresh install on fedora core 3 revealed some necessary tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@640 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2bea53541b
commit
59d9fa452c
|
@ -5,3 +5,5 @@ $MAKE depend
|
|||
cd libraries
|
||||
$MAKE
|
||||
$MAKE install
|
||||
cd ../include
|
||||
cp -p ldap*.h lber*.h $PREFIX/include
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
CFLAGS += -DWITH_OPENLDAP
|
||||
CFLAGS += -DWITH_OPENLDAP -DLDAP_DEPRECATED
|
||||
LDFLAGS += -lldap_r -llber
|
||||
|
||||
LINKER=$(CC)
|
||||
|
@ -7,7 +7,7 @@ LINKER=$(CC)
|
|||
all: depends $(MODNAME).so
|
||||
|
||||
depends:
|
||||
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install openldap-2.3.19.tgz --prefix=$(PREFIX)
|
||||
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install openldap-2.3.19.tgz --prefix=$(PREFIX) --disable-bdb --disable-hdb
|
||||
|
||||
$(MODNAME).so: $(MODNAME).c
|
||||
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
||||
|
|
Loading…
Reference in New Issue