cogl: force linking against libGL if used
Otheriwse, if Cairo's GL backend is disabled, libGL doesn't end up in cogl's rpath, so applications using cogl (like gthumb) will fail to launch when they search for libGL and can't find it.
This commit is contained in:
@@ -53,6 +53,9 @@ stdenv.mkDerivation rec {
|
||||
"--enable-wayland-egl-server"
|
||||
"--enable-gles1"
|
||||
"--enable-gles2"
|
||||
# Force linking against libGL.
|
||||
# Otherwise, it tries to load it from the runtime library path.
|
||||
"LIBS=-lGL"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"--disable-glx"
|
||||
"--without-x"
|
||||
|
||||
Reference in New Issue
Block a user