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