From 76333d2a1e5e5fde5ebece478dae8a22091b5cb9 Mon Sep 17 00:00:00 2001 From: Phillip Cao Date: Mon, 5 Nov 2018 08:43:38 +1300 Subject: Add prefix option for link args --- mesonbuild/backend/backends.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/backend/backends.py') diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 370e35b..4040251 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -607,6 +607,8 @@ class Backend: continue if compiler.get_language() == 'd': arg = '-Wl,' + arg + else: + arg = compiler.get_linker_lib_prefix() + arg args.append(arg) return args -- cgit v1.1