mesa: fix libudev path
This commit is contained in:
parent
3c793aca79
commit
92b968863a
@ -50,7 +50,7 @@ stdenv.mkDerivation {
|
|||||||
] ++ optional stdenv.isLinux
|
] ++ optional stdenv.isLinux
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./dlopen-absolute-paths.diff;
|
src = ./dlopen-absolute-paths.diff;
|
||||||
inherit udev;
|
inherit (udev) libudev;
|
||||||
});
|
});
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -7,7 +7,7 @@ index 666d015..4d7a9be 100644
|
|||||||
{
|
{
|
||||||
if (!udev_handle) {
|
if (!udev_handle) {
|
||||||
- udev_handle = dlopen("libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
- udev_handle = dlopen("libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
||||||
+ udev_handle = dlopen("@udev@/lib/libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
+ udev_handle = dlopen("@libudev@/lib/libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
||||||
|
|
||||||
if (!udev_handle) {
|
if (!udev_handle) {
|
||||||
/* libudev.so.1 changed the return types of the two unref functions
|
/* libudev.so.1 changed the return types of the two unref functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user