gpgrt-config runs emulating pkg-config.
pkg-config supports PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables.
Specifically, when PKG_CONFIG_LIBDIR is empty and PKG_CONFIG_PATH is defined, gpgrt-config should search *.pc files by PKG_CONFIG_PATH, ignoring --libdir option.