After changing PKG_CONFIG_SYSROOT_DIR to the stagedir I now see this:
checking /usr/include/tirpc/netconfig.h usability... no
checking /usr/include/tirpc/netconfig.h presence... no
checking for /usr/include/tirpc/netconfig.h... no
configure: error: libtirpc not found.
Which was there before the change too, it seems PKG_CHECK_MODULES is not following PKG_CONFIG_SYSROOT_DIR. Is that the right assumption?
After changing PKG_CONFIG_ SYSROOT_ DIR to the stagedir I now see this: tirpc/netconfig .h usability... no tirpc/netconfig .h presence... no tirpc/netconfig .h... no
checking /usr/include/
checking /usr/include/
checking for /usr/include/
configure: error: libtirpc not found.
Which was there before the change too, it seems PKG_CHECK_MODULES is not following PKG_CONFIG_ SYSROOT_ DIR. Is that the right assumption?