Advertisement
internecto

Untitled

Aug 10th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. diff --git tools/qemu-xen-dir/Makefile.target tools/qemu-xen-dir/Makefile.target
  2. index a111521..95d6bc0 100644
  3. --- tools/qemu-xen-dir/Makefile.target
  4. +++ tools/qemu-xen-dir/Makefile.target
  5. @@ -33,6 +33,8 @@ endif
  6. PROGS=$(QEMU_PROG)
  7. STPFILES=
  8.  
  9. +LIBS+=-lrt -lm
  10. +
  11. ifndef CONFIG_HAIKU
  12. LIBS+=-lm
  13. endif
  14. --- tools/qemu-xen-traditional-dir-remote/configure.old
  15. +++ tools/qemu-xen-traditional-dir-remote/configure
  16. @@ -1109,7 +1109,7 @@
  17.  
  18. if test "$rt" = "yes" ; then
  19. # Hack, we should have a general purpose LIBS for this sort of thing
  20. - AIOLIBS="$AIOLIBS -lrt"
  21. + AIOLIBS="$AIOLIBS -lrt -lm"
  22. fi
  23.  
  24. if test "$mingw32" = "yes" ; then
  25. --- tools/qemu-xen-dir-remote/configure.orig
  26. +++ tools/qemu-xen-dir-remote/configure
  27. @@ -2469,7 +2469,7 @@
  28. if compile_prog "" "" ; then
  29. :
  30. elif compile_prog "" "-lrt" ; then
  31. - LIBS="-lrt $LIBS"
  32. + LIBS="-lrt -lm $LIBS"
  33. fi
  34.  
  35. if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
  36. --- tools/qemu-xen-traditional-dir-remote/Makefile.target.orig
  37. +++ tools/qemu-xen-traditional-dir-remote/Makefile.target
  38. @@ -520,7 +520,7 @@
  39. OBJS+=block-raw-posix.o
  40. endif
  41.  
  42. -LIBS+=-lz
  43. +LIBS+=-lz -lrt -lm
  44. ifdef CONFIG_ALSA
  45. LIBS += -lasound
  46. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement