Load the runtime udev library, not the development one.
authorSam Lantinga <slouken@libsdl.org>
Fri, 14 Dec 2012 18:50:07 +0000
changeset 6754 c8cbb53af33e
parent 6753 332c36fd0fd7
child 6755 af77e1a6faf0
Load the runtime udev library, not the development one.
src/joystick/linux/SDL_sysjoystick.c
--- a/src/joystick/linux/SDL_sysjoystick.c	Fri Dec 14 09:22:13 2012 -0800
+++ b/src/joystick/linux/SDL_sysjoystick.c	Fri Dec 14 18:50:07 2012 +0000
@@ -61,7 +61,7 @@
 
 /* we never link directly to libudev. */
 /* !!! FIXME: can we generalize this? ALSA, etc, do the same things. */
-static const char *udev_library = "libudev.so";
+static const char *udev_library = "libudev.so.0";
 static void *udev_handle = NULL;
 
 /* !!! FIXME: this is kinda ugly. */