Update the pattern to prefer the old version

This commit is contained in:
Dustin Lacewell 2014-12-03 15:15:58 -08:00
commit 51d2096cd3
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. # Note: The enumerations are mapped to Window's constants.
when defined(ssl): when defined(ssl):
type type
SSLError* = object of Exception SSLError* = object of Exception

View file

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