OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63546b8
)
dri: Add a useful error message if someone's packages missed libudev deps.
author
Eric Anholt
<eric@anholt.net>
Thu, 30 Jan 2014 18:44:58 +0000
(10:44 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 1 Feb 2014 18:09:11 +0000
(10:09 -0800)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/loader/loader.c
patch
|
blob
|
history
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index
5d25899
..
811f8a2
100644
(file)
--- a/
src/loader/loader.c
+++ b/
src/loader/loader.c
@@
-111,6
+111,11
@@
udev_dlopen_handle(void)
* might be ia64.
*/
udev_handle = dlopen("libudev.so.0", RTLD_LOCAL | RTLD_LAZY);
+
+ if (!udev_handle) {
+ log_(_LOADER_FATAL, "Couldn't dlopen libudev.so.1 or libudev.so.0, "
+ "driver detection may be broken.\n");
+ }
}
}