Skip to content

Commit eef989f

Browse files
ADKasterawesomekling
authored andcommitted
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.
1 parent 8ed5ed3 commit eef989f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Userland/Libraries/LibGPU/Driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ static HashMap<String, String> const s_driver_path_map
1818
#if defined(__serenity__)
1919
{ "softgpu", "libsoftgpu.so.serenity" },
2020
#elif defined(__APPLE__)
21-
{ "softgpu", "./liblagom-softgpu.dylib" },
21+
{ "softgpu", "liblagom-softgpu.dylib" },
2222
#else
23-
{ "softgpu", "./liblagom-softgpu.so" },
23+
{ "softgpu", "liblagom-softgpu.so.0" },
2424
#endif
2525
};
2626

0 commit comments

Comments
 (0)