1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Linux: Use versioned X11 libs to load symbols so we aren't relying on the *-dev libs to be installed on user's machines

This commit is contained in:
ed 2020-07-06 12:20:10 +01:00
parent e19b1bde71
commit c64ddc4490

View file

@ -578,19 +578,19 @@ private:
}
//==============================================================================
DynamicLibrary xLib { "libX11.so" }, xextLib { "libXext.so" };
DynamicLibrary xLib { "libX11.so.6" }, xextLib { "libXext.so.6" };
#if JUCE_USE_XCURSOR
DynamicLibrary xcursorLib { "libXcursor.so" };
DynamicLibrary xcursorLib { "libXcursor.so.1" };
#endif
#if JUCE_USE_XINERAMA
DynamicLibrary xineramaLib { "libXinerama.so" };
DynamicLibrary xineramaLib { "libXinerama.so.1" };
#endif
#if JUCE_USE_XRENDER
DynamicLibrary xrenderLib { "libXrender.so" };
DynamicLibrary xrenderLib { "libXrender.so.1" };
#endif
#if JUCE_USE_XRANDR
DynamicLibrary xrandrLib { "libXrandr.so" };
DynamicLibrary xrandrLib { "libXrandr.so.2" };
#endif
//==============================================================================