Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment.

This fixes joystick detection for applications using the Steam Linux Runtime
This commit is contained in:
Sam Lantinga committed 2016-11-29 05:34:20 -08:00
1 parent 5220759f03
commit 1e8f074c43
7 files changed
+41 -3

No files matched your search

+3
View File
@@ -360,4 +360,7 @@
/* Enable ime support */
#undef SDL_USE_IME
/* Enable dynamic udev support */
#undef SDL_UDEV_DYNAMIC
#endif /* SDL_config_h_ */