maybe could set the default pkg_config_path by running pkg-config --variable pc_path pkg-config
on the system at runtime
In theory, this should be easy to implement. The code in question is in
src/external/libpkgconf.c
at line 63. It should be as simple as calling the command suggested using withpopen
and copying it's output to thepkg_config_path
string. Of course, this should only happen if the path isn't defined.While I would love to contribute a patch, I don't really have the time to figure out the internals of muon.
Aside from that, the easiest work around is just to set up the PKG_CONFIG_PATH environment to use the value of
|pkg-config --variable pc_path pkg-config
. Like this:PKG_CONFIG_PATH="$(||pkg-config --variable pc_path pkg-config)"
|