diff options
Diffstat (limited to 'main/clang')
-rw-r--r-- | main/clang/APKBUILD | 6 |
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() { |