When glfw is not compiled as a framework, load the dynlib
authorLori Holden <email@loriholden.com>
Sun, 8 Apr 2012 21:46:43 +0000 (8 15:46 -0600)
committerLori Holden <email@loriholden.com>
Sun, 8 Apr 2012 21:46:43 +0000 (8 15:46 -0600)
lib/glfw-lib.lisp

index cb4fc17..2b89846 100644 (file)
@@ -6,7 +6,7 @@
 
 #-ecl
 (cffi:define-foreign-library libglfw
-  (:darwin (:framework "GLFW"))
+  (:darwin (:or "libglfw.dylib" (:framework "GLFW")))
   (:unix (:or "glfw" "libglfw.so" "libglfw.so.2"  #P"/usr/local/lib/libglfw.so"))
   (:windows (:or "glfw.dll" "libglfw.dll")) 
   (t (:default "libglfw")))