mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
shim: Make the vdpau code handle biarch, multiarch, and host
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -233,7 +233,10 @@ static void shim_export_extra(const char *prefix)
|
||||
shim_export_ld_dir("LD_LIBRARY_PATH", ld_library_dirs[i]);
|
||||
}
|
||||
|
||||
/* the vdpau directory only exists on multiarch */
|
||||
shim_export_ld_dir("VDPAU_DRIVER_PATH", "/var/lib/snapd/lib/gl/vdpau");
|
||||
shim_export_ld_dir("VDPAU_DRIVER_PATH", "/var/lib/snapd/lib/gl");
|
||||
shim_export_ld_dir("VDPAU_DRIVER_PATH", "/usr/lib/vdpau");
|
||||
|
||||
/* Path */
|
||||
shim_export_merge_vars("PATH", prefix, "/usr/bin");
|
||||
|
||||
Reference in New Issue
Block a user