Commit 34b51c21 authored by Jupp Müller's avatar Jupp Müller Committed by Jakub Jirutka

main/clang: add missing libclang.a

parent 62bacef3
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment