diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-07-11 20:53:50 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-07-11 20:53:50 +0300 |
commit | e38f040661b56781bed8290e7ab357ccfbdf49ec (patch) | |
tree | 99cb81a1875a52a64062008390b14b1cc8886707 /build.py | |
parent | 6759e404d996a64bbe19df5988360dc913eb099e (diff) | |
download | meson-e38f040661b56781bed8290e7ab357ccfbdf49ec.zip meson-e38f040661b56781bed8290e7ab357ccfbdf49ec.tar.gz meson-e38f040661b56781bed8290e7ab357ccfbdf49ec.tar.bz2 |
Can set install time rpath.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -299,6 +299,9 @@ class BuildTarget(): if not(os.path.isfile(trial)): raise InvalidArguments('Tried to add non-existing extra file %s.' % i) self.extra_files = extra_files + self.install_rpath = kwargs.get('install_rpath', '') + if not isinstance(self.install_rpath, str): + raise InvalidArguments('Install_rpath is not a string.') def get_subdir(self): return self.subdir @@ -585,6 +588,7 @@ class CustomTarget: self.dependencies = [] self.process_kwargs(kwargs) self.extra_files = [] + self.install_rpath = '' def process_kwargs(self, kwargs): self.sources = kwargs.get('input', []) |