Load the runtime udev library, not the development one.

This commit is contained in:
Sam Lantinga 2012-12-14 18:50:07 +00:00
parent 80493dfae0
commit 29bfd0ab48

View file

@ -61,7 +61,7 @@
/* we never link directly to libudev. */ /* we never link directly to libudev. */
/* !!! FIXME: can we generalize this? ALSA, etc, do the same things. */ /* !!! 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; static void *udev_handle = NULL;
/* !!! FIXME: this is kinda ugly. */ /* !!! FIXME: this is kinda ugly. */