From eef989f9ed3cdfdc1f238a228709f1af193caac3 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Fri, 16 Sep 2022 05:59:34 -0600 Subject: [PATCH] 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. --- Userland/Libraries/LibGPU/Driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibGPU/Driver.cpp b/Userland/Libraries/LibGPU/Driver.cpp index d192978763..7bdcad4a96 100644 --- a/Userland/Libraries/LibGPU/Driver.cpp +++ b/Userland/Libraries/LibGPU/Driver.cpp @@ -18,9 +18,9 @@ static HashMap 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 };