Skip to content

Commit

Permalink
Fixed bug 1401 - Debian patch: Linking with -lm
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 5, 2013
1 parent e07faab commit 7010c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -35,6 +35,7 @@ libSDL2_ttf_la_LDFLAGS = \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
endif
libSDL2_ttf_la_LIBADD = @MATHLIB@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = SDL2_ttf.pc
Expand Down
3 changes: 2 additions & 1 deletion Makefile.in
Expand Up @@ -55,6 +55,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@USE_VERSION_RC_FALSE@libSDL2_ttf_la_DEPENDENCIES =
noinst_PROGRAMS = showfont$(EXEEXT) glfont$(EXEEXT)
subdir = .
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
Expand Down Expand Up @@ -107,7 +108,6 @@ am__uninstall_files_from_dir = { \
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \
"$(DESTDIR)$(libSDL2_ttfincludedir)"
LTLIBRARIES = $(lib_LTLIBRARIES)
libSDL2_ttf_la_LIBADD =
am_libSDL2_ttf_la_OBJECTS = SDL_ttf.lo
libSDL2_ttf_la_OBJECTS = $(am_libSDL2_ttf_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
Expand Down Expand Up @@ -377,6 +377,7 @@ EXTRA_DIST = \
@USE_VERSION_RC_TRUE@ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o

@USE_VERSION_RC_TRUE@libSDL2_ttf_la_DEPENDENCIES = version.o
libSDL2_ttf_la_LIBADD = @MATHLIB@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = SDL2_ttf.pc
showfont_LDADD = libSDL2_ttf.la
Expand Down

0 comments on commit 7010c28

Please sign in to comment.