Skip to content

Commit a8683ee

Browse files
committed
configure.ac: fix SDL_ttf not present
Recent changes enforce #SDL_TTF_LIBS to be set but it isn't when the SDL TTF library is not found with pkgconf.
1 parent 1dd00d0 commit a8683ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,9 +1779,9 @@ then
17791779
PKG_CHECK_MODULES([SDL_TTF], [sdl${sdl_ver_suffix}-ttf],
17801780
[FOUND_SDL_TTF=yes], [FOUND_SDL_TTF=no])
17811781
fi
1782-
SDL_TTF_LIBS=$(remove_mwindows "${SDL_TTF_LIBS?}")
17831782
if test "${FOUND_SDL_TTF?}" = yes
17841783
then
1784+
SDL_TTF_LIBS=$(remove_mwindows "${SDL_TTF_LIBS?}")
17851785
TESTCARD2_LIB="${TESTCARD2_LIB-} ${SDL_TTF_LIBS?}"
17861786
AC_DEFINE([HAVE_LIBSDL_TTF], [1], [Build testcard2 with TTF support])
17871787
fi

0 commit comments

Comments
 (0)