[gobject-introspection] scanner: Use packages from --pkg
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] scanner: Use packages from --pkg
- Date: Mon, 10 Jan 2011 18:23:57 +0000 (UTC)
commit 34fad966c2f642dcf0cc9c7beefeb62dbb8fec60
Author: Benjamin Otte <otte redhat com>
Date: Mon Jan 10 18:15:03 2011 +0100
scanner: Use packages from --pkg
Use pkgconfig files from --pkg when compiling the dump binary.
This helps avoiding linker errors when init sections are provided that
use code from those packages.
https://bugzilla.gnome.org/show_bug.cgi?id=639039
giscanner/dumper.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 9b4033c..3ea43e2 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -87,6 +87,7 @@ class DumpCompiler(object):
self._uninst_srcdir = os.environ.get(
'UNINSTALLED_INTROSPECTION_SRCDIR')
self._packages = ['gio-2.0 gthread-2.0']
+ self._packages.extend(options.packages)
# Public API
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]