summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Cox2017-04-23 21:16:49 +0100
committerKevin Cox2017-04-23 21:16:49 +0100
commit4200f122128bab1b09678a35dcea11c4ed19c6da (patch)
tree0d4c158f4ada5a552e976286e80951d655fb52b1
parent9e8c220f6f628f59986b2b1313e74d7ab0f234cc (diff)
downloadaur-4200f122128bab1b09678a35dcea11c4ed19c6da.tar.gz
Fix build.
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f7fb6df7358..5348feb401a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,8 @@ build() {
cmake . \
-DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-DBACKWARD_TESTS=true \
- -DBACKWARD_SHARED=true
+ -DBACKWARD_SHARED=true \
+ -DCMAKE_CXX_FLAGS=-I.
make
}
@@ -31,7 +32,6 @@ package() {
cd "$srcdir/backward-cpp-$pkgver"
make PREFIX="$pkgdir/usr" install
- install -vDm 755 libbackward.a "$pkgdir/usr/lib/libbackward.a"
install -vDm 755 libbackward.so "$pkgdir/usr/lib/libbackward.so.$pkgver"
install -vDm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}