summaryrefslogtreecommitdiff
path: root/community/newton-dynamics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/newton-dynamics/PKGBUILD')
-rw-r--r--community/newton-dynamics/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/newton-dynamics/PKGBUILD b/community/newton-dynamics/PKGBUILD
index f22a2aea0..5456ebce7 100644
--- a/community/newton-dynamics/PKGBUILD
+++ b/community/newton-dynamics/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Christophe Robin (bombstrike) <crobin@php.net>
pkgname=newton-dynamics
pkgver=2.33
-pkgrel=1
+pkgrel=2
pkgdesc="A simple physics API"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.newtondynamics.com"
@@ -37,6 +37,7 @@ build() {
## build lib
cd "${builddir}"
+ sed -i 's/ -o libNewton.so/ -lpthread -lstdc++ -o libNewton.so/' makefile
make
install -D -m644 "${builddir}/libNewton.a" "${pkgdir}/usr/lib/libNewton.a"