summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-09-16 05:59:34 -0600
committerAndreas Kling <kling@serenityos.org>2022-09-16 15:32:38 +0200
commiteef989f9ed3cdfdc1f238a228709f1af193caac3 (patch)
tree8d1b45d1bb9c3e3d3feb3b774d2ee21b105ccf88 /Userland
parent8ed5ed3ec07f77b8be8c286c43fafb60dbc6c495 (diff)
downloadserenity-eef989f9ed3cdfdc1f238a228709f1af193caac3.zip
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.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibGPU/Driver.cpp4
1 files 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<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
};