File: 0001-Change-order-of-libs-to-fix-FTBS-with-as-needed.patch

package info (click to toggle)
sinfo 0.0.48-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,332 kB
  • sloc: sh: 11,213; cpp: 6,722; makefile: 271; xml: 151; perl: 149
file content (45 lines) | stat: -rw-r--r-- 1,207 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Gaudenz Steinlin <gaudenz@debian.org>
Date: Thu, 26 Dec 2013 14:31:21 +0100
Subject: Change order of libs to fix FTBS with --as-needed

Thanks: Ilya Barygin for the patch.
Closes: #638598
---
 sinfod/Makefile.am | 2 +-
 sinfod/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/sinfod/Makefile.am
+++ b/sinfod/Makefile.am
@@ -32,13 +32,13 @@
 		$(IDLXSOURCES)
 
 sinfod_LDADD = \
+	../librpc/librpc.la	\
 	../libsinfotypes/libsinfotypes.la		\
 	../libsinfometer/libsinfometer.la		\
 	../libmessage/libmessage.la	\
 	../libmessageparser/libmessageparser.la	\
 	../libmessageiobase/libmessageiobase.la	\
 	../libmessageio/libmessageio.la	\
-	../librpc/librpc.la	\
 	-lpthread \
 	$(BOOST_SIGNALS_LIB) \
 	$(BOOST_SYSTEM_LIB)
--- a/sinfod/Makefile.in
+++ b/sinfod/Makefile.in
@@ -302,13 +302,13 @@
 		$(IDLXSOURCES)
 
 sinfod_LDADD = \
+	../librpc/librpc.la	\
 	../libsinfotypes/libsinfotypes.la		\
 	../libsinfometer/libsinfometer.la		\
 	../libmessage/libmessage.la	\
 	../libmessageparser/libmessageparser.la	\
 	../libmessageiobase/libmessageiobase.la	\
 	../libmessageio/libmessageio.la	\
-	../librpc/librpc.la	\
 	-lpthread \
 	$(BOOST_SIGNALS_LIB) \
 	$(BOOST_SYSTEM_LIB)