diff mbox

[2/3] configure: Link QEMU against 'liburcu-bp'

Message ID 20120402124943.4846.20579.stgit@ginnungagap.bsc.es
State New
Headers show

Commit Message

Lluís Vilanova April 2, 2012, 12:49 p.m. UTC
This library is needed when using 'ust/tracepoint.h'.

Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Stefan Hajnoczi April 3, 2012, 8:46 a.m. UTC | #1
On Mon, Apr 02, 2012 at 02:49:44PM +0200, Lluís Vilanova wrote:
> This library is needed when using 'ust/tracepoint.h'.
> 
> Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

I also sent an email to lttng-devel asking if pkg-config --libs ust
should include this, you are CCed.  If the library details will change
it would be best for us to use pkg-config.

Stefan
diff mbox

Patch

diff --git a/configure b/configure
index c7be13d..30591b0 100755
--- a/configure
+++ b/configure
@@ -2672,7 +2672,7 @@  if test "$trace_backend" = "ust"; then
 int main(void) { return 0; }
 EOF
   if compile_prog "" "" ; then
-    LIBS="-lust $LIBS"
+    LIBS="-lust -lurcu-bp $LIBS"
   else
     echo
     echo "Error: Trace backend 'ust' missing libust header files"