Patchwork [2/3] build: add librt to libs_qga

login
register
mail settings
Submitter Roger Pau Monne
Date Feb. 21, 2012, 7:14 p.m.
Message ID <1329851680-3421-2-git-send-email-roger.pau@entel.upc.edu>
Download mbox | patch
Permalink /patch/143186/
State New
Headers show

Comments

Roger Pau Monne - Feb. 21, 2012, 7:14 p.m.
librt is needed to link qemu-ga.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index 68eb3fa..790d495 100755
--- a/configure
+++ b/configure
@@ -2521,6 +2521,7 @@  if compile_prog "" "" ; then
   :
 elif compile_prog "" "-lrt" ; then
   LIBS="-lrt $LIBS"
+  libs_qga="-lrt $libs_qga"
 fi
 
 if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \