Joel Winarske

I discovered an upstream problem with vulkan-loader today.

Effectively since 1.2.162 vulkan.pc is broken for cross compilation scenarios.

This example illustrates current problem with vulkan.pc installed by vulkan-loader:
$ pkg-config --print-errors --define-variable=prefix=/opt --variable=includedir vulkan

It should return /opt/usr/include

So doing this in a meson project does not produce the expected result:
vulkan_hpp = join_paths([
    vulkan_dep.get_pkgconfig_variable('includedir', define_variable: ['prefix', get_option('prefix')])

What is the suggested approach to address this?  A patch for each branch up to master?


Join to automatically receive all group messages.