mesa: fix build

latest versions (>=19.1.0), no longer need to delete
{,e}gl.pc after install
This commit is contained in:
Jonathan Ringer 2019-10-22 15:43:25 -07:00 committed by Jon
parent f1d46d094a
commit 548b707584

View file

@ -167,7 +167,7 @@ stdenv.mkDerivation {
substituteInPlace "$dev/lib/pkgconfig/dri.pc" --replace "$drivers" "${libglvnd.driverLink}"
# remove pkgconfig files for GL/EGL; they are provided by libGL.
rm $dev/lib/pkgconfig/{gl,egl}.pc
rm -f $dev/lib/pkgconfig/{gl,egl}.pc
# Update search path used by pkg-config
for pc in $dev/lib/pkgconfig/{d3d,dri,xatracker}.pc; do