File: FTBFS_linker.patch

package info (click to toggle)
tilem 2.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,136 kB
  • sloc: ansic: 27,147; makefile: 740; sh: 344; xml: 315
file content (16 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS: Add -lm to make the linker succeed. 
Author: cherry-picked from upstream
Reviewed-by: Andreas B. Mundt <andi@debian.org>
Last-Update: 2013-08-19

--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,8 @@
 
 # Checks for libraries
 
+AC_CHECK_LIB(m, pow, [ LIBS="-lm $LIBS" ])
+
 m4_define(with_flags, [
   save_cflags="$CFLAGS"
   save_libs="$LIBS"