summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3aed5f2..ab12c71 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,6 +49,7 @@ dodge_balls_CFLAGS = \
dodge_balls_CPPFLAGS = \
$(SDL_CFLAGS) \
$(SDL_IMAGE_CFLAGS) \
+ $(SDL_TTF_CFLAGS) \
$(ZLIB_CFLAGS) \
$(EXPAT_CFLAGS) \
-DABS_BUILDDIR=\"$(abs_builddir)\" \
@@ -57,6 +58,7 @@ dodge_balls_LDADD = \
$(ASAN_CFLAGS) \
$(SDL_LIBS) \
$(SDL_IMAGE_LIBS) \
+ $(SDL_TTF_LIBS) \
$(ZLIB_LIBS) \
$(EXPAT_LIBS)
dodge_balls_LINK = $(LINK) version.c
diff --git a/configure.ac b/configure.ac
index c4ad760..2773d19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,6 +110,7 @@ done
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([SDL], [sdl2])
PKG_CHECK_MODULES([SDL_IMAGE], [SDL2_image])
+PKG_CHECK_MODULES([SDL_TTF], [SDL2_ttf])
PKG_CHECK_MODULES([ZLIB], [zlib])
PKG_CHECK_MODULES([EXPAT], [expat])