diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-06-19 19:07:09 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-06-19 19:07:09 -0400 |
commit | ca798e1538e18d12cef5ba44a587737a7f137a01 (patch) | |
tree | 31af8dd61871a89f7af6796697ae9ace1bcc8b23 | |
parent | 6bc14424b40b0741112737859b576ed9533f099a (diff) | |
download | meson-ca798e1538e18d12cef5ba44a587737a7f137a01.zip meson-ca798e1538e18d12cef5ba44a587737a7f137a01.tar.gz meson-ca798e1538e18d12cef5ba44a587737a7f137a01.tar.bz2 |
Add all internal dep rpaths to gnome module builds.
Running gtkdoc on a shared library that depends on another shared
library would fail otherwise.
-rw-r--r-- | mesonbuild/modules/gnome.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 3c80a09..f395eaf 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -303,6 +303,8 @@ class GnomeModule(ExtensionModule): for d in state.backend.determine_rpath_dirs(lib): d = os.path.join(state.environment.get_build_dir(), d) link_command.append('-L' + d) + if include_rpath: + link_command.append('-Wl,-rpath,' + d) if include_rpath: link_command.append('-Wl,-rpath,' + libdir) if depends: |