From a08374b9a945f3e15b1d7cebf07d4e62a83ba3b2 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sun, 7 Jun 2015 20:33:20 +0200 Subject: generate_gir: Add the path to the girtarget. To the scan command. Otherwise when linking with libtool, the target library was not found. --- modules/gnome.py | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 -- cgit v1.1