File: fix_ftbfs_ld_as_needed.patch

package info (click to toggle)
jack-tools 20101210-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 504 kB
  • sloc: ansic: 4,678; makefile: 122; lisp: 48; sh: 16
file content (20 lines) | stat: -rw-r--r-- 583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Declaring math lib and dynamic loaded lib to LIBS to fix FTBFS.
Author: Leo Iannacone <l3on@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/913459
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655216
Forwarded: no
---
 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

--- jack-tools.orig/configure.ac
+++ jack-tools/configure.ac
@@ -50,6 +50,8 @@ AC_CHECK_HEADERS(sys/inotify.h, AC_DEFIN
 
 AC_SUBST(AM_CFLAGS)
 AM_CFLAGS="-D_POSIX_C_SOURCE=200112 -std=c99 -O3 -funroll-loops -Wall"
+AC_SUBST(LIBS)
+LIBS="-lm -ldl"
 
 # Write Makefile.