qemu-common: disable linking with libutil in tests

This commit is contained in:
Leonid Pliushch 2019-05-27 15:43:44 +03:00 committed by Yaksh Bariya
parent aa867a9eba
commit 51fe438376
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -0,0 +1,14 @@
diff -uNr qemu-3.1.0/tests/Makefile.include qemu-3.1.0.mod/tests/Makefile.include
--- qemu-3.1.0/tests/Makefile.include 2018-12-11 19:44:35.000000000 +0200
+++ qemu-3.1.0.mod/tests/Makefile.include 2019-05-27 15:42:32.554434009 +0300
@@ -777,10 +777,6 @@
rm $(INITRD_WORK_DIR)/init
rmdir $(INITRD_WORK_DIR)
-ifeq ($(CONFIG_POSIX),y)
-LIBS += -lutil
-endif
-
# QTest rules
TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS)))