diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2013-11-13 12:31:19 +0100 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2013-11-15 17:36:37 +0100 |
commit | 95cbe0c58f729fbcd27e68a693a8bbcaaf117858 (patch) | |
tree | e413da849fb17e8ce45b0cb9b570603466923461 /giscanner/dumper.py | |
parent | 562258d22f983b135cfc5031cb023d6b07473150 (diff) | |
download | gobject-introspection-95cbe0c58f729fbcd27e68a693a8bbcaaf117858.tar.gz |
giscanner: Make sure we use real paths in more places
Ensure we are using the real path also for cflags comming from
pkg_config files and command line options. This fixes the generation of
the gir files when include paths contain symlinks.
https://bugzilla.gnome.org/show_bug.cgi?id=712211
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r-- | giscanner/dumper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py index 98920e36..93f27569 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -214,7 +214,7 @@ class DumpCompiler(object): else: args.append("-Wno-deprecated-declarations") pkgconfig_flags = self._run_pkgconfig('--cflags') - args.extend(pkgconfig_flags) + args.extend([utils.cflag_real_include_path(f) for f in pkgconfig_flags]) cflags = os.environ.get('CFLAGS', '') for cflag in cflags.split(): args.append(cflag) |