File: 04_fix_hurd_ftbfs.patch

package info (click to toggle)
dbus-c%2B%2B 0.9.0-8.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,764 kB
  • sloc: sh: 10,179; cpp: 7,696; makefile: 355; xml: 335; ansic: 109
file content (18 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix FTBFS on hurd
 Fix FTBFS caused by undefined reference to symbol 'pthread_join@@GLIBC_2.12'
 while linking test/functional/Test1.
Author: Vincent Cheng <vcheng@debian.org>
Last-Update: 05-12-2012

--- a/test/functional/Test1/Makefile.am
+++ b/test/functional/Test1/Makefile.am
@@ -31,7 +31,8 @@
 TestApp_LDADD = \
 	$(top_builddir)/src/libdbus-c++-1.la \
 	$(PTHREAD_LIBS) \
-	$(RT_LIBS)
+	$(RT_LIBS) \
+	-lpthread
 
 TestApp_CXXFLAGS = \
 	-I$(top_srcdir)/include