[Lunar-commits] <moonbase> cwiid: Fixing the BUILD else the make craps out on some linking problems.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Nov 28 13:24:54 CET 2011


commit 207dd87a87ad135ea9808e0fddd03d80dfa00727
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon Nov 28 07:24:54 2011 -0500

    cwiid: Fixing the BUILD else the make craps out on some linking problems.
---
 libs/cwiid/BUILD |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libs/cwiid/BUILD b/libs/cwiid/BUILD
index bc300a4..e33dcb7 100644
--- a/libs/cwiid/BUILD
+++ b/libs/cwiid/BUILD
@@ -1,5 +1,10 @@
 (
 
+# This is needed to avoid a make failure with linking. The error was;
+# cwiid: /usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO 
+# /lib64/libpthread.so.0 so try adding it to the linker command line.
+  LDFLAGS="-lpthread" &&
+
   sedit "s:hci_remote_name:hci_read_remote_name:g" libcwiid/bluetooth.c &&
 
   default_build


More information about the Lunar-commits mailing list