prefer library discovery method based on wheels, since these are shipped with their own libraries that should be used over other Darshan installs (e.g., Darshan installs provided by a facility)
fix pkg-config based library discovery, originally mentioned in #383
--path does not seem to be a valid pkg-config option, but we can extract the prefix variable from the file as I have done here
--path
does not seem to be a validpkg-config
option, but we can extract theprefix
variable from the file as I have done here