Fix post-install.py on Windows without pkg-config
-
Prepend
gtk_bindir
toPATH
. If GLib is built as a subproject, this will allow runningglib-compile-schemas
andgio-querymodules
without full path. -
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)