forked from Mirrors/freeswitch
more build stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1024 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ea29697ad2
commit
3cf68432c1
@ -149,7 +149,7 @@ depends:
|
||||
./build/buildlib.sh . install apr-util-1.2.6.tar.gz --with-apr=../apr-1.2.6 --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . libresample-0.1.3.tgz --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . install libteletone --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . install srtp.tgz --prefix=$(PREFIX) --enable-pic
|
||||
./build/buildlib.sh . install srtp.tgz --prefix=$(PREFIX)
|
||||
rm build/freeswitch.env
|
||||
|
||||
|
||||
|
@ -1032,7 +1032,7 @@ depends:
|
||||
./build/buildlib.sh . install apr-util-1.2.6.tar.gz --with-apr=../apr-1.2.6 --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . libresample-0.1.3.tgz --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . install libteletone --prefix=$(PREFIX)
|
||||
./build/buildlib.sh . install srtp.tgz --prefix=$(PREFIX) --enable-pic
|
||||
./build/buildlib.sh . install srtp.tgz --prefix=$(PREFIX)
|
||||
rm build/freeswitch.env
|
||||
|
||||
modules: $(NAME)
|
||||
|
17
libs/srtp.build.sh
Executable file
17
libs/srtp.build.sh
Executable file
@ -0,0 +1,17 @@
|
||||
arch=`uname -m`
|
||||
|
||||
opts=""
|
||||
if [ $arch = "x86_64" ] ; then
|
||||
opts="--enable-pic"
|
||||
fi
|
||||
|
||||
./configure $@ $opts
|
||||
|
||||
make clean uninstall all
|
||||
make install
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user