Permalink
Browse files

Add ability to use installed sdl libs in osx

  • Loading branch information...
uldza committed Aug 3, 2018
1 parent ce53ce7 commit 03001799befca0816b421bda867e5384ca231c46
@@ -13,7 +13,8 @@
:test #'equal))
(cffi:define-foreign-library sdl-image
(:darwin (:framework "SDL_image"))
(:darwin (:or (:framework "SDL_image")
(:default "libSDL_image")))
(:windows (:or "SDL_image.dll" "SDL_image1.2.dll"))
(:unix (:or "libSDL_image-1.2.so.0"
"libSDL_image1.2"
@@ -13,7 +13,8 @@
:test #'equal))
(cffi:define-foreign-library sdl-mixer
(:darwin (:framework "SDL_mixer"))
(:darwin (:or (:framework "SDL_mixer")
(:default "libSDL_mixer")))
(:windows "SDL_mixer.dll")
(:unix (:or "libSDL_mixer"
"libSDL_mixer.so"
@@ -24,7 +24,8 @@
(cffi:define-foreign-library sdl-ttf
(:darwin (:or (:framework "SDL_ttf")
(:framework "libSDL_ttf-2.0")))
(:framework "libSDL_ttf-2.0")
(:default "libSDL_ttf-2.0.0")))
(:windows (:or "SDL_ttf.dll"))
(:unix (:or "libSDL_ttf" "libSDL_ttf2.0" "libSDL_ttf-2.0.so.0")))

0 comments on commit 0300179

Please sign in to comment.