summaryrefslogtreecommitdiff
path: root/extra/live-media
diff options
context:
space:
mode:
Diffstat (limited to 'extra/live-media')
-rw-r--r--extra/live-media/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/live-media/PKGBUILD b/extra/live-media/PKGBUILD
index c44222970..5b2f948c1 100644
--- a/extra/live-media/PKGBUILD
+++ b/extra/live-media/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=live-media
pkgver=2012.01.07
pkgrel=1
pkgdesc="A set of C++ libraries for multimedia streaming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://live555.com/liveMedia"
depends=('gcc-libs')
@@ -17,8 +17,8 @@ build() {
cd ${srcdir}/live
sed \
- -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DSOCKLEN_T/g' \
- -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
+ -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. '"${CFLAGS}"' -fPIC -DSOCKLEN_T/g' \
+ -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) '"${LDFLAGS}"' -o/g' \
-e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
-i config.linux
./genMakefiles linux