diff options
author | Aleksey Gurtovoy <agurtovoy@acm.org> | 2019-08-09 16:06:47 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-09-05 23:42:47 +0300 |
commit | 75daed27bc4e363696157617c7461414fc4e707b (patch) | |
tree | 2863934de82e0a7cc6a3dcd9ee23b4c4e378c550 /mesonbuild/linkers.py | |
parent | caec875fe1922b40037e1fd9229433ede64f9f25 (diff) | |
download | meson-75daed27bc4e363696157617c7461414fc4e707b.zip meson-75daed27bc4e363696157617c7461414fc4e707b.tar.gz meson-75daed27bc4e363696157617c7461414fc4e707b.tar.bz2 |
mesonlib.split_args/quote_arg/join_args
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r-- | mesonbuild/linkers.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index 6cce78b..8de254b 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -14,7 +14,6 @@ import abc import os -import shlex import typing from . import mesonlib @@ -279,7 +278,7 @@ class DynamicLinker(metaclass=abc.ABCMeta): flags = os.environ.get('LDFLAGS') if not flags: return [] - return shlex.split(flags) + return mesonlib.split_args(flags) def get_option_args(self, options: 'OptionDictType') -> typing.List[str]: return [] |