LibGPU: Don't use relative paths for libsoftgpu in Lagom environments

We can count on the dynamic loader for each platform, and the RPATH of
our build infrastrucuture, to load the lib up automagically.
This commit is contained in:
Andrew Kaster 2022-09-16 05:59:34 -06:00 committed by Andreas Kling
parent 8ed5ed3ec0
commit eef989f9ed
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00

View file

@ -18,9 +18,9 @@ static HashMap<String, String> const s_driver_path_map
#if defined(__serenity__)
{ "softgpu", "libsoftgpu.so.serenity" },
#elif defined(__APPLE__)
{ "softgpu", "./liblagom-softgpu.dylib" },
{ "softgpu", "liblagom-softgpu.dylib" },
#else
{ "softgpu", "./liblagom-softgpu.so" },
{ "softgpu", "liblagom-softgpu.so.0" },
#endif
};