Should we integrate these libs in our LDFLAGS directly?

-------- Original Message --------
Subject:        Bug#604955: ust: FTBFS with binutils-gold
Resent-Date: Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08 +0000
Resent-From:    Bhavani Shankar R <[email protected]>
Resent-To:      [email protected]
Resent-CC:      Jon Bernard <[email protected]>
Date:   Thu, 25 Nov 2010 23:35:07 +0530
From:   Bhavani Shankar R <[email protected]>
Reply-To:       Bhavani Shankar R <[email protected]>, [email protected]
To:     [email protected]



Package: ust
Tags: patch
Usertags: origin-ubuntu natty ubuntu-patch
Severity: important

Hello dear maintainer

Regarding the above subject, Your package FTBFS on ubuntu due to
indirect linking

cf: 
https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz

The minimal patch below should fix the problem

diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
--- ust-0.8/debian/rules        2010-11-16 17:24:08.000000000 +0000
+++ ust-0.8/debian/rules        2010-11-18 06:28:44.000000000 +0000
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
+
+LDFLAGS+=-lrt -lpthread
+
 %:
        dh $@


Regards

--
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community developer.
What matters in life is application of mind!,
It makes great sense to have some common sense..!





_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to