diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-04 23:45:42 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-04 23:45:42 +0300 |
| commit | 509340d1ec425677c57e1e07a4bea6b64b1ee0e4 (patch) | |
| tree | 0f121c20cbcbe13a12ee61ec97226569563ab5c6 /environment.py | |
| parent | 62a607c0571ea3e1ef58a5ab4cd834f05fa0fa51 (diff) | |
| download | meson-509340d1ec425677c57e1e07a4bea6b64b1ee0e4.tar.gz | |
Test suite runs now.
Diffstat (limited to 'environment.py')
| -rw-r--r-- | environment.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/environment.py b/environment.py index f71d82bc2..da2facaed 100644 --- a/environment.py +++ b/environment.py @@ -538,6 +538,9 @@ class GnuObjCCompiler(ObjCCompiler): def get_pch_suffix(self): return 'gch' + def build_rpath_args(self, build_dir, rpath_paths): + return ['-Wl,-rpath,' + ':'.join([os.path.join(build_dir, p) for p in rpath_paths])] + class GnuObjCPPCompiler(ObjCPPCompiler): std_warn_flags = ['-Wall', '-Winvalid-pch'] std_opt_flags = ['-O2'] @@ -555,6 +558,9 @@ class GnuObjCPPCompiler(ObjCPPCompiler): def get_pch_suffix(self): return 'gch' + def build_rpath_args(self, build_dir, rpath_paths): + return ['-Wl,-rpath,' + ':'.join([os.path.join(build_dir, p) for p in rpath_paths])] + class ClangCCompiler(CCompiler): std_warn_flags = ['-Wall', '-Winvalid-pch'] std_opt_flags = ['-O2'] |
