Explorar el Código

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.
Andrew Kaster hace 2 años
padre
commit
eef989f9ed
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Userland/Libraries/LibGPU/Driver.cpp

+ 2 - 2
Userland/Libraries/LibGPU/Driver.cpp

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