mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
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:
@@ -45,7 +45,8 @@ else:
|
||||
|
||||
# Note: The enumerations are mapped to Window's constants.
|
||||
|
||||
when defined(ssl):
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user