pv-runtime, pv-adverb: Use ${LIB} instead of ${PLATFORM} if possible
- Nov 22, 2023
-
-
Simon McVittie authored
This lets us use a path based on ${LIB} rather than ${PLATFORM}, which will work under FEX-Emu. Helps: steamrt/tasks#349 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When running under FEX-Emu, we cannot determine the correct value for ${PLATFORM}. However, the standard "rootfs" environments for FEX-Emu are all based on operating systems whose ${LIB} setup we understand - either Debian multiarch, FHS/Red Hat multilib, or Arch multilib - so we can prefer to use one of those, only falling back to ${PLATFORM} if nothing else works. Helps: steamrt/tasks#349 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Otherwise, pv-adverb will be unable to detect the expansion of ${LIB} or ${PLATFORM}, leading to a somewhat unrealistic test. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-