Re: vulkan-loader
Joel Winarske
Before: $ pkg-config --print-errors --define-variable=prefix=/opt --variable=includedir vulkan /usr/include After: $ pkg-config --print-errors --define-variable=prefix=/opt --variable=includedir vulkan /opt/usr/include This is important as meson does not expose PKG_CONFIG_SYSROOT_DIR to pkg-config. With change this meson snippet now finds absolute path correctly:
Another work around for meson's current limitation would be to implement a pkg-config wrapper that exposes PKG_CONFIG variables, and point to it in meson.bbclass/meson.cross. Regardless the bad vulkan.pc is now fixed. Joel On Mon, Nov 29, 2021, 10:58 PM Alexander Kanavin <alex.kanavin@...> wrote:
|
|