mesa: point pkgconfig at $drivers
This commit is contained in:
parent
df587c7f2e
commit
722dd05b14
@ -205,6 +205,11 @@ let self = stdenv.mkDerivation {
|
|||||||
for js in $drivers/share/glvnd/egl_vendor.d/*.json; do
|
for js in $drivers/share/glvnd/egl_vendor.d/*.json; do
|
||||||
substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_"
|
substituteInPlace "$js" --replace '"libEGL_' '"'"$drivers/lib/libEGL_"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Update search path used by pkg-config
|
||||||
|
for pc in $dev/lib/pkgconfig/*.pc; do
|
||||||
|
substituteInPlace "$pc" --replace $out $drivers
|
||||||
|
done
|
||||||
'' + optionalString (vulkanDrivers != []) ''
|
'' + optionalString (vulkanDrivers != []) ''
|
||||||
# Update search path used by Vulkan (it's pointing to $out but
|
# Update search path used by Vulkan (it's pointing to $out but
|
||||||
# drivers are in $drivers)
|
# drivers are in $drivers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user