more build stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1024 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-04-04 00:27:32 +00:00
parent ea29697ad2
commit 3cf68432c1
3 changed files with 19 additions and 2 deletions

View File

@ -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

View File

@ -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
View 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