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:
commit
04820ca69d
2 changed files with 3 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ else:
|
|||
# Note: The enumerations are mapped to Window's constants.
|
||||
|
||||
when defined(ssl):
|
||||
|
||||
type
|
||||
SSLError* = object of Exception
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue