aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0001-workaround-FTBFS-caused-by-doko
blob: 6387f6f61a06a684a6dfb51ebc78177ebd0a781f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: workaround FTBFS caused by doko
 Matthias Klose put an asm statement into libstdc++'s thread header forcing
 applications to link with -lpthread
Author: Timo_Weingärtner <timo@tiwe.de>
Bug-Debian: https://bugs.debian.org/759859

--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ CXXFLAGS ?= -g -O2 -Wall -Wold-style-cast
 
 CPPFLAGS += -D_FILE_OFFSET_BITS=64
 CXXFLAGS += -std=c++11
-LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle
+LDLIBS = -lstdc++ -lboost_program_options -lboost_filesystem -lboost_system -lboost_iostreams -lnettle -lpthread
 
 all: ssh-agent-filter.1 afssh.1 ssh-askpass-noinput.1