diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-11-23 13:48:13 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-03-10 19:05:19 +0530 |
commit | aae69e73eb3ce04f643e9697e46823e41cdb4eea (patch) | |
tree | 681c65e1282422b9a2d79c228da5100015336fa3 /tools | |
parent | 8e8523ab3a9ddf4110ffb66ca16213ab29693efd (diff) | |
download | gobject-introspection-aae69e73eb3ce04f643e9697e46823e41cdb4eea.tar.gz |
meson: Rewrite glib gir generation
The previous build files had a bunch of problems:
1. It assumed that glib would only be sourced via pkg-config
2. It was using the system gobject-introspection-1.0.pc file while
building GIRepository-1.0.gir
3. It wasn't ignoring the *-autocleanup.h headers properly
Now you can build glib as a subproject and generate girs against the
in-tree sources. This also yields more accurate girs because they
document platform-specific features that are actually enabled in
the glib build we are linking against.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build index 73817ec8..e32937bf 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -1,6 +1,6 @@ libdir_abs = join_paths(get_option('prefix'), get_option('libdir')) datadir_abs = join_paths(get_option('prefix'), get_option('datadir')) -python_path = py3.find_python().path() +python_path = python3.path() tools = [ ['g-ir-scanner', 'scannermain', 'scanner_main'], |