From 3b0ca4d877f98a264c977754a14e6514bea35185 Mon Sep 17 00:00:00 2001 From: Mike Massonnet Date: Sun, 11 Apr 2010 15:11:50 +0200 Subject: [PATCH] Fix DSO thunar-vfs-font-thumbnailer must link to -lm for rint() --- configure.in.in | 1 + thunar-vfs/Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.in.in b/configure.in.in index e104f0c..bd8b86e 100644 --- a/configure.in.in +++ b/configure.in.in @@ -107,6 +107,7 @@ AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h fnmatch.h fstab.h grp.h \ sys/mman.h sys/mnttab.h sys/mount.h sys/param.h sys/resource.h \ sys/stat.h sys/statfs.h sys/statvfs.h sys/time.h sys/ucred.h \ sys/uio.h sys/vfs.h sys/wait.h time.h wchar.h wctype.h]) +AC_SUBST([MATH_LIBS], [" -lm"]]) dnl ************************************ dnl *** Check for standard functions *** diff --git a/thunar-vfs/Makefile.am b/thunar-vfs/Makefile.am index 5d22807..18b628e 100644 --- a/thunar-vfs/Makefile.am +++ b/thunar-vfs/Makefile.am @@ -225,7 +225,8 @@ thunar_vfs_font_thumbnailer_1_CFLAGS = \ thunar_vfs_font_thumbnailer_1_LDADD = \ $(FREETYPE_LIBS) \ - $(GDK_PIXBUF_LIBS) + $(GDK_PIXBUF_LIBS) \ + $(MATH_LIBS) thunar_vfs_font_thumbnailer_1_LDFLAGS = \ -no-undefined \ -- 1.7.0.3