aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/allocators/tbbmalloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocators/tbbmalloc.py b/src/allocators/tbbmalloc.py
index db24395..a5b28b7 100644
--- a/src/allocators/tbbmalloc.py
+++ b/src/allocators/tbbmalloc.py
@@ -16,7 +16,7 @@ class TBBMalloc (src.allocator.Allocator):
kwargs["LD_PRELOAD"] = "{dir}/libtbbmalloc.so"
kwargs["build_cmds"] = ["cd {srcdir}; make tbbmalloc -j4",
"mkdir -p {dir}",
- 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc_proxy.so*") {dir}/libtbbmalloc.so']
+ 'ln -f -s $(find {srcdir} -executable -name "*libtbbmalloc_proxy.so*") {dir}/libtbbmalloc.so | head -1']
super().__init__(name, **kwargs)