From 0cfad204738d445a46d9af7871b50c28eb491e38 Mon Sep 17 00:00:00 2001 From: Elliot Ronaghan Date: Fri, 14 Jan 2022 14:47:42 -0500 Subject: [PATCH] Fix indexing bug in system libfabric chplenv The old code was trying to index into a tuple with `()` instead of `[]`, which doesn't work in python (but does in chapel) so update to use `[]`. Follow on to 18880. Signed-off-by: Elliot Ronaghan --- util/chplenv/chpl_libfabric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/chplenv/chpl_libfabric.py b/util/chplenv/chpl_libfabric.py index 4a5b2821eddf..98bf27285e44 100755 --- a/util/chplenv/chpl_libfabric.py +++ b/util/chplenv/chpl_libfabric.py @@ -112,7 +112,7 @@ def get_link_args(): if pcl.startswith('-L'): libs.append(pcl.replace('-L', '-Wl,-rpath,', 1)) - args(1).extend(libs) + args[1].extend(libs) if libfabric_val == 'system' or libfabric_val == 'bundled': libs = [ ]