gnome: Don't pass ldflags to g-ir-scanner

In this context -l refers to shared libraries that the gir
provides so you end up with a dozen unecessary libs in your
gir file.
pull/944/head
Patrick Griffis 8 years ago committed by Jussi Pakkanen
parent 423c8dbb40
commit d9473095f2
  1. 4
      mesonbuild/modules/gnome.py

@ -381,8 +381,8 @@ class GnomeModule:
deps = [deps]
deps = (girtarget.get_all_link_deps() + girtarget.get_external_deps() +
deps)
cflags, ldflags, gi_includes = self.get_dependencies_flags(deps, state, depends)
scan_command += list(cflags) + list(ldflags)
cflags, _, gi_includes = self.get_dependencies_flags(deps, state, depends)
scan_command += list(cflags)
for i in gi_includes:
scan_command += ['--add-include-path=%s' % i]

Loading…
Cancel
Save