[file-roller] Fix libm linking
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [file-roller] Fix libm linking
- Date: Wed, 10 Feb 2010 19:33:27 +0000 (UTC)
commit 76b71a8e4956bc21ecc00d77c069650b3dda6a42
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 10 17:47:08 2010 +0000
Fix libm linking
Otherwise we fail to link against libm:
/usr/bin/ld: dlg-batch-add.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
https://bugzilla.gnome.org/show_bug.cgi?id=609565
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9a0de5a..37bffc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,8 @@ AC_CHECK_FUNC(mkdtemp,
mkdtemp_missing=true)
AM_CONDITIONAL(MKDTEMP_MISSING, test x$mkdtemp_missing = xtrue)
+AC_CHECK_LIB(m, floor)
+
dnl ==========================================================================
AC_ARG_ENABLE(packagekit,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]