diff options
author | Phillip Cao <ftechz@gmail.com> | 2018-11-05 08:43:38 +1300 |
---|---|---|
committer | Phillip Cao <ftechz@gmail.com> | 2018-11-08 00:02:24 +1300 |
commit | 76333d2a1e5e5fde5ebece478dae8a22091b5cb9 (patch) | |
tree | 6ba84ed7d1757833459d5991305f97f90d8cc6b9 /mesonbuild/backend/backends.py | |
parent | fc77ec92438b79416299bb81b68f4d27633a5a4e (diff) | |
download | meson-76333d2a1e5e5fde5ebece478dae8a22091b5cb9.zip meson-76333d2a1e5e5fde5ebece478dae8a22091b5cb9.tar.gz meson-76333d2a1e5e5fde5ebece478dae8a22091b5cb9.tar.bz2 |
Add prefix option for link args
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |