diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:57:20 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:57:20 -0400 |
commit | 6089f00259cd80cace1b567b32344d3e8c8f616c (patch) | |
tree | 9c389b704ec5d2411848438fd7d67a2a033f1253 /sdl2/config.scm.in | |
parent | 1c6a6250d2c1e6bfaca15058225f66ce9187ecaf (diff) |
Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories.
Diffstat (limited to 'sdl2/config.scm.in')
-rw-r--r-- | sdl2/config.scm.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl2/config.scm.in b/sdl2/config.scm.in index 06f5519..c3e0ba6 100644 --- a/sdl2/config.scm.in +++ b/sdl2/config.scm.in @@ -8,7 +8,7 @@ ;; this check at runtime allows a Linux machine to cross-compile ;; guile-sdl2 for a Windows target. (define %windows? (string-prefix? "Windows" (utsname:sysname (uname)))) -(define %libsdl2 (if %windows? "SDL2" "@LIBSDL2@")) -(define %libsdl2-image (if %windows? "SDL2_image" "@LIBSDL2_IMAGE@")) -(define %libsdl2-ttf (if %windows? "SDL2_ttf" "@LIBSDL2_TTF@")) -(define %libsdl2-mixer (if %windows? "SDL2_mixer" "@LIBSDL2_MIXER@")) +(define %libsdl2 (if %windows? "SDL2" "@SDL2_LIBDIR@/libSDL2")) +(define %libsdl2-image (if %windows? "SDL2_image" "@SDL2_IMAGE_LIBDIR@/libSDL2_image")) +(define %libsdl2-ttf (if %windows? "SDL2_ttf" "@SDL2_TTF_LIBDIR@/libSDL2_ttf")) +(define %libsdl2-mixer (if %windows? "SDL2_mixer" "@SDL2_MIXER_LIBDIR/libSDL2_mixer@")) |