mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
Merge pull request #42529 from mkaito/mesa-pkgconfig
mesa: point pkgconfig at $drivers
This commit is contained in:
commit
4bbca076ea
@ -205,6 +205,11 @@ let self = stdenv.mkDerivation {
|
||||
for js in $drivers/share/glvnd/egl_vendor.d/*.json; do
|
||||
substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_"
|
||||
done
|
||||
|
||||
# Update search path used by pkg-config
|
||||
for pc in $dev/lib/pkgconfig/*.pc; do
|
||||
substituteInPlace "$pc" --replace $out $drivers
|
||||
done
|
||||
'' + optionalString (vulkanDrivers != []) ''
|
||||
# Update search path used by Vulkan (it's pointing to $out but
|
||||
# drivers are in $drivers)
|
||||
|
Loading…
Reference in New Issue
Block a user