From 509340d1ec425677c57e1e07a4bea6b64b1ee0e4 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 4 Oct 2013 23:45:42 +0300 Subject: Test suite runs now. --- environment.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/environment.py b/environment.py index f71d82b..da2faca 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'] -- cgit v1.1