Skip to content
Commit 7d61bf50 authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez
Browse files

targets/opencl: don't hardcode the icd file install to /etc/...



Use $(sysconfdir) instead of hardcoding /etc.

While the OpenCL spec expects the file in /etc, people building their
stack can override that, esp. !Linux users.

Furthermore this removes a fundamental violation, which results in the
system file being overwritten even as one explicitly sets --prefix
and/or DESTDIR.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Reviewed-By: default avatarAaron Watry <awatry@gmail.com>
(cherry picked from commit 0cd09585)
parent 61401e97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment