mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/tbb: Use proper symlinks to installed libraries
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
e2e8c6e5be
commit
93a38dd8ec
1 changed files with 7 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
PRGNAM=tbb
|
PRGNAM=tbb
|
||||||
VERSION=${VERSION-4.0u5}
|
VERSION=${VERSION-4.0u5}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
SRCVERSION=${SRCVERSION:-40_20120613oss}
|
SRCVERSION=${SRCVERSION:-40_20120613oss}
|
||||||
|
@ -54,9 +54,12 @@ find . \
|
||||||
make
|
make
|
||||||
|
|
||||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
|
||||||
mv build/linux_*_release/\
|
# The *.so (no numerical suffix) files should be symlinks, but they're not,
|
||||||
{libtbb.so{,.2},libtbbmalloc.so{,.2},libtbbmalloc_proxy.so{,.2}} \
|
# so we'll do that correct ourselves
|
||||||
$PKG/usr/lib${LIBDIRSUFFIX}
|
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
|
mv include $PKG/usr
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue