aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang
diff options
context:
space:
mode:
authorJupp Müller <jupp0r@gmail.com>2016-08-16 00:51:34 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-19 18:10:37 +0200
commit34b51c21b489344fc2ded7b3c9cfb85197a4e12c (patch)
treec40e895c67134a23bdccc671d2a26ce0c838d221 /main/clang
parent62bacef3f734d76208bc0b4bf99780536b04edf8 (diff)
downloadaports-34b51c21b489344fc2ded7b3c9cfb85197a4e12c.tar.bz2
aports-34b51c21b489344fc2ded7b3c9cfb85197a4e12c.tar.xz
main/clang: add missing libclang.a
Diffstat (limited to 'main/clang')
-rw-r--r--main/clang/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
index 1ea68f0b86..484c9c6f1b 100644
--- a/main/clang/APKBUILD
+++ b/main/clang/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=clang
pkgver=3.8.1
-pkgrel=0
+pkgrel=1
pkgdesc="A C language family front-end for LLVM"
arch="all"
url="http://llvm.org/"
@@ -67,6 +67,7 @@ build() {
-DCLANG_INCLUDE_DOCS:BOOL=ON \
-DCLANG_INCLUDE_TESTS:BOOL=ON \
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \
+ -DLIBCLANG_BUILD_STATIC:BOOL=ON \
"${_srcdir}" || return 1
# -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
@@ -87,7 +88,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || reeturn 1
+ make DESTDIR="$pkgdir" install || return 1
+ install lib/libclang.a "$pkgdir"/usr/lib || return 1
}
static() {