Add all internal dep rpaths to gnome module builds.

Running gtkdoc on a shared library that depends on another shared
library would fail otherwise.
pull/1966/head
Elliott Sales de Andrade 8 years ago
parent 6bc14424b4
commit ca798e1538
  1. 2
      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:

Loading…
Cancel
Save