aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-04-07 19:40:12 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-04-07 19:40:12 +0200
commitb8d317203d712fe19d26291df345a4572c615885 (patch)
treec68ecf26c3e6aa1efdae0543a23024f105a2fa26
parent0707aa645e243e4f87c98c586fff343b77766265 (diff)
downloadallocbench-b8d317203d712fe19d26291df345a4572c615885.tar.gz
allocbench-b8d317203d712fe19d26291df345a4572c615885.zip
[alloctor.py] fix ldconfig output parsing
-rw-r--r--allocbench/allocator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocbench/allocator.py b/allocbench/allocator.py
index db5f988..229feb9 100644
--- a/allocbench/allocator.py
+++ b/allocbench/allocator.py
@@ -39,7 +39,7 @@ for line in run_cmd(["ldconfig", "-v", "-N"],
capture=True).stdout.splitlines():
if not line.startswith('\t'):
- LIBRARY_PATH += line
+ LIBRARY_PATH += line.split(':')[0]
SRCDIR = Path(get_allocbench_build_dir()) / "src"