Commit Graph

15 Commits

Author SHA1 Message Date
Sam Lantinga
a8419fdde0 Fixed bug 4367 - compatibility version decreased between 2.0.8 and 2.0.9
Joshua Root

The change resulting from Bug 4208 changed the compatibility_version of libSDL2 from 9.0.0 to 1.0.0. This is simply wrong.

This means that programs linked against 2.0.9 are considered by the dynamic linker to be compatible with all previous versions of libSDL2. This is not the case since new public symbols have been added.

The way compatibility_version and current_version are meant to work is:
 * current_version increases every time the library changes in any way.
 * compatibility_version is increased to match current_version whenever new public symbols are added.

Thus both versions should only ever increase. The solution to the Xcode project and autotools not having matching versions should have been to increase the version(s) in the Xcode project.

Reference: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/VersionInformation.html
2018-11-12 16:34:58 -08:00
Ozkan Sezer
10c1a4424b ltmain.sh: make OSX autofoo builds' compatibility version match Xcode builds.
closes bug #4208.
2018-07-05 23:01:10 +03:00
Sam Lantinga
bd378489d6 Fixed typos (thanks Martin!) 2017-12-04 20:21:52 -08:00
Sam Lantinga
34b782c94c Better mingw32-x64 linker flag fix, which doesn't require libtool patch 2013-05-26 22:16:42 -07:00
Sam Lantinga
dd1dfc7c6e Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64 2013-05-26 16:29:57 -07:00
Sam Lantinga
fe9e22362c Workaround for NVIDIA bug in glXSwapIntervalEXT.
This works around a bug in NVIDIA's implementation of
       glXSwapIntervalEXT, where it ignores updates to what it *thinks* is the
       current value, even though glXQueryDrawable returns a different value.

       Bug reported to NVIDIA and will hopefully be a part of 319.xx.

       Also a fix for invalidly treating glXSwapIntervalEXT as having an int
       return value (it's void).
2013-02-11 17:02:13 -08:00
Sam Lantinga
7c086b08b8 Whoops, that wasn't supposed to be a symlink. 2012-09-20 22:19:11 -07:00
Sam Lantinga
3c718d524e Updated to the latest versions of autotools and config.guess/config.sub
autoconf-2.69
automake-1.12
libtool-2.4.2
2012-09-20 21:13:10 -07:00
Sam Lantinga
46fea0e925 Ozkan Sezer to slouken
The attached small patch updates SDL's libtoolized files for
pe-x86_64 magic, ie win/x64.
2011-01-26 12:23:32 -08:00
Sam Lantinga
698d5c125f Updated libtool to version 2.2.6a 2009-10-04 22:21:17 +00:00
Sam Lantinga
1bc362b160 Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX 2009-03-04 08:57:30 +00:00
Sam Lantinga
6fcf0ad85a Fixed execv warning when libtool creates wrapper executables 2006-05-03 16:35:29 +00:00
Sam Lantinga
c4cb7306d5 Fixed bug #177
The attached patch changes configure.in to use "-framework FOO" instead of
"-Wl,-framework,FOO".

This avoid some issues with certain versions of libtool that do not handle
-framework properly.
Some versions of libtool will try to reorder the two parts of the option, or
render the 2nd part of the argument to the relative path of a non-existent
library.

Note: It is not enough if SDL uses a version of libtool that does this
correctly, because these -framework options show up in "sdl-config --libs".
Hence, some 3rd party apps which still ship with an old libtool have troubles
compiling under Mac OS X.
2006-03-24 05:11:51 +00:00
Sam Lantinga
1bb14e405b Updated to libtool-1.5.22 2006-03-21 10:20:44 +00:00
Sam Lantinga
f05187e232 New configure-based build system. Still work in progress, but much improved 2006-02-16 10:11:48 +00:00