diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-04 23:25:34 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-04 23:25:34 +0300 |
commit | 9f05fce831c5987346421687cc584df7c3907db6 (patch) | |
tree | fbf89af65c4971159044f7b680be974ae77e0e58 /environment.py | |
parent | bb36eec84639c84ac60ff1efd4208bb7638be56d (diff) | |
download | meson-9f05fce831c5987346421687cc584df7c3907db6.zip meson-9f05fce831c5987346421687cc584df7c3907db6.tar.gz meson-9f05fce831c5987346421687cc584df7c3907db6.tar.bz2 |
Slogging through the test suite.
Diffstat (limited to 'environment.py')
-rw-r--r-- | environment.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/environment.py b/environment.py index 0e67499..50c755c 100644 --- a/environment.py +++ b/environment.py @@ -63,7 +63,7 @@ class CCompiler(): return (None, fname) def build_rpath_arg(self, build_dir, rpath_paths): - return '' + return [] def get_id(self): return self.id @@ -515,8 +515,8 @@ class GnuCCompiler(CCompiler): def split_shlib_to_parts(self, fname): return (os.path.split(fname)[0], fname) - def build_rpath_arg(self, build_dir, rpath_paths): - return '-Wl,-rpath,' + ':'.join([os.path.join(build_dir, p) for p in rpath_paths]) + def build_rpath_args(self, build_dir, rpath_paths): + return ['-Wl,-rpath,' + ':'.join([os.path.join(build_dir, p) for p in rpath_paths])] def get_soname_flags(self, shlib_name): return ['-Wl,-soname,lib%s.so' % shlib_name] @@ -636,7 +636,10 @@ class ArLinker(): def __init__(self, exelist): self.exelist = exelist - + + def build_rpath_arg(self, build_dir, rpath_paths): + return [] + def get_exelist(self): return self.exelist |