mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools
Autotools sets both versions to the same value, so Xcode and CMake need to match for the libraries to be compatible between the different builds. See these for details: https://github.com/libsdl-org/sdl12-compat/pull/207 https://github.com/libsdl-org/SDL/issues/2934 https://stackoverflow.com/questions/67055770/usage-of-current-version-and-compatibility-version-on-macos
This commit is contained in:
parent
cbc0d9facc
commit
4e98ba612b
4 changed files with 11 additions and 15 deletions
|
|
@ -22,8 +22,7 @@
|
|||
* set first number in `DYLIB_CURRENT_VERSION` to
|
||||
(100 * *minor*) + 1
|
||||
* set second number in `DYLIB_CURRENT_VERSION` to 0
|
||||
* if backwards compatibility has been broken,
|
||||
increase `DYLIB_COMPATIBILITY_VERSION` (?)
|
||||
* set `DYLIB_COMPATIBILITY_VERSION` to the same value
|
||||
|
||||
* Run test/versioning.sh to verify that everything is consistent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue