From 93a38dd8ec29a25384341507cc5d9aea91e1bbe9 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 9 Aug 2012 23:58:45 -0500 Subject: libraries/tbb: Use proper symlinks to installed libraries Signed-off-by: Robby Workman --- libraries/tbb/tbb.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libraries/tbb/tbb.SlackBuild') diff --git a/libraries/tbb/tbb.SlackBuild b/libraries/tbb/tbb.SlackBuild index a3c690c863..cd89804c14 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 -- cgit v1.2.3