1
Description: Link against pthread on the Hurd, to work around bug #578432
2
Author: Gabriele Giacone <1o5g4r8o@gmail.com>
3
Bug-Debian: http://bugs.debian.org/749095
5
--- ldb-1.1.16.orig/wscript
7
@@ -67,6 +67,10 @@ def configure(conf):
8
if not sys.platform.startswith("openbsd"):
9
conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
11
+ # Work around pthread bug on the hurd (#578432)
12
+ if sys.platform.startswith("gnu"):
13
+ conf.ADD_LDFLAGS('-pthread', testflags=True)
15
conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)