summarylogtreecommitdiffstats
path: root/04_link-order.patch
blob: a2e9dba1b460c454134b3519cca5c4cef292951f (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
 mpc2sv8/Makefile.am |    5 +++--
 mpcdec/Makefile.am  |    5 +++--
 mpcenc/Makefile.am  |    5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

--- libmpc.orig/mpc2sv8/Makefile.am
+++ libmpc/mpc2sv8/Makefile.am
@@ -11,6 +11,7 @@ common_sources = ../common/crc32.c
 METASOURCES = AUTO
 bin_PROGRAMS = mpc2sv8
 mpc2sv8_SOURCES = mpc2sv8.c $(common_sources)
-mpc2sv8_LDADD = -lm \
+mpc2sv8_LDADD = \
 	$(top_builddir)/libmpcdec/libmpcdec.la \
-	$(top_builddir)/libmpcenc/libmpcenc.a
+	$(top_builddir)/libmpcenc/libmpcenc.a \
+	-lm
--- libmpc.orig/mpcdec/Makefile.am
+++ libmpc/mpcdec/Makefile.am
@@ -9,6 +9,7 @@ endif
 METASOURCES = AUTO
 bin_PROGRAMS = mpcdec
 mpcdec_SOURCES = mpcdec.c
-mpcdec_LDADD = -lm \
+mpcdec_LDADD = \
 	$(top_builddir)/libmpcdec/libmpcdec.la \
-	$(top_builddir)/libwavformat/libwavformat.a
+	$(top_builddir)/libwavformat/libwavformat.a \
+	-lm
--- libmpc.orig/mpcenc/Makefile.am
+++ libmpc/mpcenc/Makefile.am
@@ -22,8 +22,9 @@ mpcenc_SOURCES = keyboard.c mpcenc.c pip
 	$(common_sources) \
 	mpcenc.h predict.h config.h
 
-mpcenc_LDADD = -lm \
+mpcenc_LDADD = \
 	$(EXTRALIBS) \
 	$(top_builddir)/libmpcpsy/libmpcpsy.a \
-	$(top_builddir)/libmpcenc/libmpcenc.a
+	$(top_builddir)/libmpcenc/libmpcenc.a \
+	-lm