File: 0001-ldflags.patch

package info (click to toggle)
timemachine 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 712 kB
  • ctags: 187
  • sloc: ansic: 1,624; sh: 923; makefile: 28
file content (27 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Append missing -lm to ld libraries.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
 src/Makefile.am |    2 +-
 src/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- timemachine.orig/src/Makefile.am
+++ timemachine/src/Makefile.am
@@ -17,4 +17,4 @@ timemachine_SOURCES = \
 	meters.c meters.h \
 	threads.c threads.h 
 
-timemachine_LDADD = @PACKAGE_LIBS@
+timemachine_LDADD = @PACKAGE_LIBS@ -lm
--- timemachine.orig/src/Makefile.in
+++ timemachine/src/Makefile.in
@@ -175,7 +175,7 @@ timemachine_SOURCES = \
 	meters.c meters.h \
 	threads.c threads.h 
 
-timemachine_LDADD = @PACKAGE_LIBS@
+timemachine_LDADD = @PACKAGE_LIBS@ -lm
 all: all-am
 
 .SUFFIXES: