From 6089f00259cd80cace1b567b32344d3e8c8f616c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 7 Apr 2020 16:57:20 -0400 Subject: Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories. --- sdl2/config.scm.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sdl2') 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@")) -- cgit v1.2.3