Skip to content

EGL: Interpret relative ICD paths as relative to the JSON manifest

Simon McVittie requested to merge smcv/libglvnd:relative-path into master

Previously, relative ICD paths were treated as being relative to the current working directory, but this doesn't seem useful in practice: EGL vendors cannot predict what the current working directory of EGL applications is going to be.

Instead, interpret the path as being relative to the realpath() of the JSON manifest describing the ICD.

Resolves: #190 (closed)

Merge request reports