diff options
author | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-06-07 20:33:20 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-06-07 20:34:30 +0200 |
commit | a08374b9a945f3e15b1d7cebf07d4e62a83ba3b2 (patch) | |
tree | f2d530c607edb1f2a8741d47bc5c0bfc48a3236b /modules/gnome.py | |
parent | d170780b7eec4f99300552aceb957cb0a8db5af4 (diff) | |
download | meson-a08374b9a945f3e15b1d7cebf07d4e62a83ba3b2.zip meson-a08374b9a945f3e15b1d7cebf07d4e62a83ba3b2.tar.gz meson-a08374b9a945f3e15b1d7cebf07d4e62a83ba3b2.tar.bz2 |
generate_gir: Add the path to the girtarget.
To the scan command.
Otherwise when linking with libtool, the target library was not
found.
Diffstat (limited to 'modules/gnome.py')
-rw-r--r-- | modules/gnome.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gnome.py b/modules/gnome.py index 55eec17..fdcf827 100644 --- a/modules/gnome.py +++ b/modules/gnome.py @@ -105,6 +105,7 @@ class GnomeModule: if isinstance(girtarget, build.Executable): scan_command += ['--program', girtarget] elif isinstance(girtarget, build.SharedLibrary): + scan_command += ["-L", os.path.join (state.environment.get_build_dir(), girtarget.subdir)] libname = girtarget.get_basename() if girtarget.soversion: libname += "-%s" % girtarget.soversion |