testing/emscripten-fastcomp: fix so names conflict with llvm pkg

ERROR: unsatisfiable constraints:
    emscripten-fastcomp-1.37.9-r0:
      conflicts: llvm-3.8.1-r2[so:BugpointPasses.so=0]
      satisfies: world[emscripten-fastcomp]
    llvm-3.8.1-r2:
      conflicts: emscripten-fastcomp-1.37.9-r0[so:BugpointPasses.so=0]
      satisfies: world[llvm]
This commit is contained in:
Jakub Jirutka 2017-04-06 12:19:25 +02:00
parent 2a8df9e1b4
commit fca6623733

View File

@ -8,7 +8,7 @@
pkgname=emscripten-fastcomp
# Keep in sync with package emscripten!
pkgver=1.37.9
pkgrel=0
pkgrel=1
pkgdesc="The Clang + LLVM backend for Emscripten"
url="https://kripken.github.io/emscripten-site/"
arch="all"
@ -24,6 +24,8 @@ options="!check" # some tests are broken, don't bother with it for now
_prefix="/usr/lib/$pkgname"
ldpath="$_prefix/lib"
# Avoid conflicts in provided so:* names with llvm package.
sonameprefix="$pkgname:"
prepare() {
ln -sf ../../$pkgname-clang-$pkgver "$builddir"/tools/clang