Merge pull request #1702 from dustinlacewell/sdl_ttf_linker_update

Adds some flexibility to the lib name of SDL_ttf to allow for newer dist...
This commit is contained in:
Andreas Rumpf 2014-12-04 01:29:58 +01:00
commit 04820ca69d
2 changed files with 3 additions and 2 deletions

View file

@ -46,6 +46,7 @@ else:
# Note: The enumerations are mapped to Window's constants.
when defined(ssl):
type
SSLError* = object of Exception

View file

@ -163,7 +163,7 @@ elif defined(macosx):
ttfLibName = "libSDL_ttf-2.0.0.dylib"
else:
const
ttfLibName = "libSDL_ttf.so(|.1|.0)"
ttfLibName = "libSDL_ttf(|-2.0).so(|.1|.0)"
const
MAJOR_VERSION* = 2
MINOR_VERSION* = 0