aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rust
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-08 17:31:35 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-09 15:41:28 +0200
commit4147e840f62c20b8a776601cca54fd61fe86899c (patch)
treec98e8587f18a14c0950adc8e8a450900898aff33 /testing/rust
parent8c89e1295610fdb35dd125c2f7060e2e74c68527 (diff)
downloadaports-4147e840f62c20b8a776601cca54fd61fe86899c.tar.bz2
aports-4147e840f62c20b8a776601cca54fd61fe86899c.tar.xz
testing/rust: link with LLVM dynamically
Diffstat (limited to 'testing/rust')
-rw-r--r--testing/rust/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/rust/APKBUILD b/testing/rust/APKBUILD
index a2af1143d7..0bade65b02 100644
--- a/testing/rust/APKBUILD
+++ b/testing/rust/APKBUILD
@@ -15,7 +15,7 @@ license="ASL-2.0 BSD ISC MIT"
# See: https://github.com/rust-lang/rust/issues/11937
depends="$pkgname-stdlib gcc"
# libffi-dev is needed just because we compile llvm with LLVM_ENABLE_FFI.
-makedepends="cmake file libffi-dev libunwind-dev llvm llvm-dev llvm-static
+makedepends="cmake file libffi-dev libunwind-dev llvm llvm-dev
musl-dev python2 tar zlib-dev"
subpackages="$pkgname-stdlib $pkgname-gdb::noarch $pkgname-lldb::noarch $pkgname-doc"
@@ -85,6 +85,7 @@ build() {
--llvm-root="/usr" \
--musl-root="/usr" \
--enable-vendor \
+ --enable-llvm-link-shared \
--disable-docs \
--disable-jemalloc \
--disable-rpath