diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-11 14:54:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-11 14:54:10 +0300 |
commit | f792641b34a83d61a421f0d76a8c72a956bdb073 (patch) | |
tree | ad1a16ae7b6d9b8a0691f7a8d5e821b1eb76598d /mesonbuild/interpreter.py | |
parent | b8f02047bec9fd2d1a36db82df5fed14ef386cd6 (diff) | |
parent | 1e42241ef3c9f4d7be70b7c44703cf8856a85ddd (diff) | |
download | meson-f792641b34a83d61a421f0d76a8c72a956bdb073.zip meson-f792641b34a83d61a421f0d76a8c72a956bdb073.tar.gz meson-f792641b34a83d61a421f0d76a8c72a956bdb073.tar.bz2 |
Merge pull request #1927 from centricular/gir-rpath-link
Work around GNU ld bug with -rpath,$ORIGIN
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index afe4bf3..7f279c1 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1011,10 +1011,9 @@ class CompilerHolder(InterpreterObject): return [] ModuleState = namedtuple('ModuleState', [ - 'build_to_src', 'subdir', 'environment', 'project_name', - 'project_version', 'compilers', 'targets', 'data', 'headers', - 'man', 'global_args', 'project_args', 'build_machine', - 'host_machine', 'target_machine']) + 'build_to_src', 'subdir', 'environment', 'project_name', 'project_version', + 'backend', 'compilers', 'targets', 'data', 'headers', 'man', 'global_args', + 'project_args', 'build_machine', 'host_machine', 'target_machine']) class ModuleHolder(InterpreterObject): def __init__(self, modname, module, interpreter): @@ -1040,6 +1039,9 @@ class ModuleHolder(InterpreterObject): environment=self.interpreter.environment, project_name=self.interpreter.build.project_name, project_version=self.interpreter.build.dep_manifest[self.interpreter.active_projectname], + # The backend object is under-used right now, but we will need it: + # https://github.com/mesonbuild/meson/issues/1419 + backend=self.interpreter.backend, compilers=self.interpreter.build.compilers, targets=self.interpreter.build.targets, data=self.interpreter.build.data, |