Skip to content
Snippets Groups Projects
Commit b0c8aa8f authored by Simon McVittie's avatar Simon McVittie
Browse files

slr-for-game-developers: Expand on why SONAMEs are the name to use

parent f1244846
No related branches found
No related tags found
No related merge requests found
...@@ -1251,9 +1251,13 @@ so it should not be necessary to build your own version of SDL. ...@@ -1251,9 +1251,13 @@ so it should not be necessary to build your own version of SDL.
If you load a library dynamically, make sure to use its versioned SONAME, If you load a library dynamically, make sure to use its versioned SONAME,
such as `libvulkan.so.1` or `libgtk-3.so.0`, as the name to search for. such as `libvulkan.so.1` or `libgtk-3.so.0`, as the name to search for.
Don't use the development symlink such as `libvulkan.so` or `libgtk-3.so`, Avoid using the development symlink such as `libvulkan.so` or `libgtk-3.so`,
and also don't use the fully-versioned name such as `libvulkan.so.1.2.189` which will not be available in the Steam Linux Runtime container,
or `libgtk-3.so.0.2404.26`. and does not guarantee ABI compatibility even if it works.
Also avoid using the fully-versioned name such as `libvulkan.so.1.2.189`
or `libgtk-3.so.0.2404.26`,
because that name will no longer work if the library is upgraded to a
newer compatible version.
Use the versions of libraries that are included in the Steam Runtime, Use the versions of libraries that are included in the Steam Runtime,
if possible. if possible.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment