Compiling https://github.com/qarmin/czkawka on Windows / pkg-config

Split because I apparently can't post too many links

After installing pkg-config via msys2 and adding it to my PATH, I get

  cargo:warning=`"pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.66"` did not exit successfully: exit code: 1
  error: could not find system library 'glib-2.0' required by the 'glib-sys' crate

  --- stderr
  Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'glib-2.0', required by 'virtual:world', not found
  Package 'glib-2.0', required by 'virtual:world', not found

I've then been searching for how to add paths to the linker flags, Rustc-link-search in cargo config is the only thing that worked, Build Scripts - The Cargo Book I guess doesn't work because there's no build script? (what is generating the link.exe command then?)