Merge pull request #139 from MathieuDuponchelle/fix_library_introspection

generate_gir: Add the path to the girtarget.
pull/142/head
jpakkane 10 years ago
commit 379a0bed13
  1. 1
      modules/gnome.py

@ -105,6 +105,7 @@ class GnomeModule:
if isinstance(girtarget, build.Executable): if isinstance(girtarget, build.Executable):
scan_command += ['--program', girtarget] scan_command += ['--program', girtarget]
elif isinstance(girtarget, build.SharedLibrary): elif isinstance(girtarget, build.SharedLibrary):
scan_command += ["-L", os.path.join (state.environment.get_build_dir(), girtarget.subdir)]
libname = girtarget.get_basename() libname = girtarget.get_basename()
if girtarget.soversion: if girtarget.soversion:
libname += "-%s" % girtarget.soversion libname += "-%s" % girtarget.soversion

Loading…
Cancel
Save