summaryrefslogtreecommitdiff
path: root/tests/drm_vma_limiter_cached.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-01-19 13:44:07 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2018-03-12 14:08:26 +0200
commitadd8216df607db8152a38773b201dcb7e6656086 (patch)
tree94e3f7f22fba053158d2db3e9a09d2202e280140 /tests/drm_vma_limiter_cached.c
parentffba1cec3cb4a4bf53bba1e333e3ac94c52ce8a2 (diff)
meson: Set up runpath for installed executables
Meson builds libigt as a shared library, and executables naturally have to find it at runtime. Using default options puts the library to a normal search paths, but any modifications to the directory options or a non-conventional prefix setting makes using LD_LIBRARY_PATH or other library search means mandatory. Add a build option 'use_rpath' (default: false) that makes meson set up DT_RUNPATH at install time, pointing to the library with a path relative to the executable, using $ORIGIN. That way the installed executables find the library even when not installed to exactly the build-time configured prefix path, a setup CI occasionally uses. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Tested-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/drm_vma_limiter_cached.c')
0 files changed, 0 insertions, 0 deletions