Skip to content

Fix post-install.py on Windows without pkg-config

  1. Prepend gtk_bindir to PATH. If GLib is built as a subproject, this will allow running glib-compile-schemas and gio-querymodules without full path.

  2. Don't fail when pkg-config is not available. Just try to run everything without full paths (as if pkg-config variables were unavailable).

Also use argparse to parse command line arguments.

Fixes #3723 (closed)

Merge request reports