mesa: fix overzealous patching of *.pc

PR #42529 (722dd05) broke gbm.pc and consequently virglrenderer build.
This commit is contained in:
Vladimír Čunát 2018-07-16 17:47:24 +02:00
parent f001c81c1a
commit 2bd8e98eba
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -207,7 +207,7 @@ let self = stdenv.mkDerivation {
done
# Update search path used by pkg-config
for pc in $dev/lib/pkgconfig/*.pc; do
for pc in $dev/lib/pkgconfig/{d3d,dri,xatracker}.pc; do
substituteInPlace "$pc" --replace $out $drivers
done
'' + optionalString (vulkanDrivers != []) ''