build: Simplify library name

We want the library to come out as libSDL3.so.0 on Unix, or something
similar on other platforms. There's no need to have libSDL3-3.0.so.0,
because next time we intentionally break the API it should become libSDL4
anyway.

Partially implements #5626.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-11-23 16:33:38 +00:00
committed by Sam Lantinga
parent 4574c16178
commit 7ef38beb7e
4 changed files with 7 additions and 21 deletions

View File

@@ -88,7 +88,7 @@ jobs:
ctest -VV --test-dir build/
if test "${{ runner.os }}" = "Linux"; then
# This should show us the SDL_REVISION
strings build/libSDL3-3.0.so.0 | grep SDL-
strings build/libSDL3.so.0 | grep SDL-
fi
- name: Install (CMake)
if: "! matrix.platform.autotools"
@@ -147,7 +147,7 @@ jobs:
make -j"${parallel}" -C build-autotools/test check LD_LIBRARY_PATH="${curdir}/build-autotools/build/.libs"
if test "${{ runner.os }}" = "Linux"; then
# This should show us the SDL_REVISION
strings "${curdir}/build-autotools/build/.libs/libSDL3-3.0.so.0" | grep SDL-
strings "${curdir}/build-autotools/build/.libs/libSDL3.so.0" | grep SDL-
fi
- name: Install (Autotools)
if: matrix.platform.autotools