Bug#761932: yorick: linking with libpthread fixes FTBFS of yorick-av and yorick-hdf5
Source: yorick
Version: 2.2.03+dfsg-2
Severity: important
User: debian-hurd@lists.debian.org
Usertags: hurd
Tags: patch
Hello, currently yorick-av and yorick-hdf5 FTBFS on GNU/Hurd due to
implicit inclusion of libpthread. Furthermore, both yorick-av and
yorick-hdf5 are flagged as out-of-date. Linking yorick with libpthread
directly fixes these problems. The attached patch adds a link directive
on libpthread for Hurd in debian/rules.
Thanks!
--- a/debian/rules.orig 2014-04-01 13:41:24.000000000 +0200
+++ b/debian/rules 2014-09-16 23:02:56.000000000 +0200
@@ -13,6 +13,11 @@
CFLAGS += $(CPPFLAGS)
export CFLAGS
+ifneq (,$(filter $(DEB_HOST_ARCH), hurd-i386))
+ LDFLAGS += -lpthread
+endif
+export LDFLAGS
+
# This has to be exported to make some magic below work.
export DH_OPTIONS
Reply to: