2014-06-10 12:42:48 +02:00
|
|
|
diff --git a/src/loader/loader.c b/src/loader/loader.c
|
|
|
|
index 666d015..4d7a9be 100644
|
|
|
|
--- a/src/loader/loader.c
|
|
|
|
+++ b/src/loader/loader.c
|
|
|
|
@@ -101,7 +101,7 @@ static void *
|
|
|
|
udev_dlopen_handle(void)
|
|
|
|
{
|
|
|
|
if (!udev_handle) {
|
|
|
|
- udev_handle = dlopen("libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
2015-04-19 00:48:25 +02:00
|
|
|
+ udev_handle = dlopen("@libudev@/lib/libudev.so.1", RTLD_LOCAL | RTLD_LAZY);
|
2014-06-10 12:42:48 +02:00
|
|
|
|
|
|
|
if (!udev_handle) {
|
|
|
|
/* libudev.so.1 changed the return types of the two unref functions
|