[2/3] build: add librt to libs_qga

Submitted by Roger Pau Monne on Feb. 21, 2012, 7:14 p.m.

Details

Message ID 1329851680-3421-2-git-send-email-roger.pau@entel.upc.edu
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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 \