summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2014-12-04 01:29:58 +0100
committerAndreas Rumpf <rumpf_a@web.de>2014-12-04 01:29:58 +0100
commit04820ca69d4ef9eca8d7139ee95181ae9a1ef506 (patch)
treea1a58d7803df8e40dc6e830b1c03ad0d1a131910 /lib
parent85d83fd8cb43a1d49a18a6f6329662da47059646 (diff)
parent51d2096cd340ec9ef0cb1e598d5c389a95b9c456 (diff)
downloadNim-04820ca69d4ef9eca8d7139ee95181ae9a1ef506.tar.gz
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...
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/sockets.nim3
-rw-r--r--lib/wrappers/sdl/sdl_ttf.nim2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/pure/sockets.nim b/lib/pure/sockets.nim
index 99cdc002c..e3c32e806 100644
--- a/lib/pure/sockets.nim
+++ b/lib/pure/sockets.nim
@@ -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
 
diff --git a/lib/wrappers/sdl/sdl_ttf.nim b/lib/wrappers/sdl/sdl_ttf.nim
index e0410c798..9ebe70b9d 100644
--- a/lib/wrappers/sdl/sdl_ttf.nim
+++ b/lib/wrappers/sdl/sdl_ttf.nim
@@ -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