aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-16 09:40:35 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-16 20:28:56 -0700
commitfc86df3d2c5a899f3eb5fafd59bd16cc3ec9327a (patch)
treeb181f350e7351cee220422acea8c54c481e6bb10 /mesonbuild/linkers.py
parenta4a53237f1902c67afdafa9ab25b7baddf4ef43e (diff)
downloadmeson-fc86df3d2c5a899f3eb5fafd59bd16cc3ec9327a.zip
meson-fc86df3d2c5a899f3eb5fafd59bd16cc3ec9327a.tar.gz
meson-fc86df3d2c5a899f3eb5fafd59bd16cc3ec9327a.tar.bz2
linkers: Fix argument error
The name of the argument passed was not the name of the argument used.
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r--mesonbuild/linkers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py
index b6e6443..3903e0a 100644
--- a/mesonbuild/linkers.py
+++ b/mesonbuild/linkers.py
@@ -908,7 +908,7 @@ class CompCertDynamicLinker(DynamicLinker):
return ['-o{}'.format(outputname)]
def get_search_args(self, dirname: str) -> T.List[str]:
- return ['-L{}'.format(outputname)]
+ return ['-L{}'.format(dirname)]
def get_allow_undefined_args(self) -> T.List[str]:
return []