void-packages/srcpkgs/xen4.2/patches/qemu-timer_settime-librt.patch

23 lines
622 B
Diff
Raw Normal View History

--- tools/qemu-xen/Makefile.target.orig 2013-06-04 15:51:15.320999319 +0200
+++ tools/qemu-xen/Makefile.target 2013-06-04 15:51:37.360864318 +0200
@@ -205,7 +205,7 @@ obj-$(CONFIG_REALLY_VIRTFS) += 9pfs/virt
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
obj-$(CONFIG_NO_KVM) += kvm-stub.o
obj-y += memory.o
-LIBS+=-lz
+LIBS+=-lz -lrt
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
--- tools/qemu-xen-traditional/Makefile.target
+++ tools/qemu-xen-traditional/Makefile.target
@@ -520,7 +520,7 @@
OBJS+=block-raw-posix.o
endif
-LIBS+=-lz
+LIBS+=-lz -lm -lrt
ifdef CONFIG_ALSA
LIBS += -lasound
endif