aboutsummaryrefslogtreecommitdiff
path: root/libraries/tbb/tbb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/tbb/tbb.SlackBuild')
-rw-r--r--libraries/tbb/tbb.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/tbb/tbb.SlackBuild b/libraries/tbb/tbb.SlackBuild
index a3c690c863c99..cd89804c1496e 100644
--- a/libraries/tbb/tbb.SlackBuild
+++ b/libraries/tbb/tbb.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=tbb
VERSION=${VERSION-4.0u5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCVERSION=${SRCVERSION:-40_20120613oss}
@@ -54,9 +54,12 @@ find . \
make
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mv build/linux_*_release/\
-{libtbb.so{,.2},libtbbmalloc.so{,.2},libtbbmalloc_proxy.so{,.2}} \
- $PKG/usr/lib${LIBDIRSUFFIX}
+# The *.so (no numerical suffix) files should be symlinks, but they're not,
+# so we'll do that correct ourselves
+mv build/linux_*_release/*.so.* $PKG/usr/lib${LIBDIRSUFFIX}
+ln -s libtbb.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbb.so
+ln -s libtbbmalloc.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc.so
+ln -s libtbbmalloc_proxy.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc_proxy.so
mv include $PKG/usr