archrelease: copy trunk to extra-x86_64
[arch-packages.git] / musepack / repos / extra-x86_64 / 04_link-order.patch
bloba2e9dba1b460c454134b3519cca5c4cef292951f
1 ---
2 mpc2sv8/Makefile.am | 5 +++--
3 mpcdec/Makefile.am | 5 +++--
4 mpcenc/Makefile.am | 5 +++--
5 3 files changed, 9 insertions(+), 6 deletions(-)
7 --- libmpc.orig/mpc2sv8/Makefile.am
8 +++ libmpc/mpc2sv8/Makefile.am
9 @@ -11,6 +11,7 @@ common_sources = ../common/crc32.c
10 METASOURCES = AUTO
11 bin_PROGRAMS = mpc2sv8
12 mpc2sv8_SOURCES = mpc2sv8.c $(common_sources)
13 -mpc2sv8_LDADD = -lm \
14 +mpc2sv8_LDADD = \
15 $(top_builddir)/libmpcdec/libmpcdec.la \
16 - $(top_builddir)/libmpcenc/libmpcenc.a
17 + $(top_builddir)/libmpcenc/libmpcenc.a \
18 + -lm
19 --- libmpc.orig/mpcdec/Makefile.am
20 +++ libmpc/mpcdec/Makefile.am
21 @@ -9,6 +9,7 @@ endif
22 METASOURCES = AUTO
23 bin_PROGRAMS = mpcdec
24 mpcdec_SOURCES = mpcdec.c
25 -mpcdec_LDADD = -lm \
26 +mpcdec_LDADD = \
27 $(top_builddir)/libmpcdec/libmpcdec.la \
28 - $(top_builddir)/libwavformat/libwavformat.a
29 + $(top_builddir)/libwavformat/libwavformat.a \
30 + -lm
31 --- libmpc.orig/mpcenc/Makefile.am
32 +++ libmpc/mpcenc/Makefile.am
33 @@ -22,8 +22,9 @@ mpcenc_SOURCES = keyboard.c mpcenc.c pip
34 $(common_sources) \
35 mpcenc.h predict.h config.h
37 -mpcenc_LDADD = -lm \
38 +mpcenc_LDADD = \
39 $(EXTRALIBS) \
40 $(top_builddir)/libmpcpsy/libmpcpsy.a \
41 - $(top_builddir)/libmpcenc/libmpcenc.a
42 + $(top_builddir)/libmpcenc/libmpcenc.a \
43 + -lm