diff mbox series

[Bug,1777252] Re: tests/Makefile.include trying to add linking library '-lutil' that break the build on Solaris

Message ID 154754258028.32422.6669368576771224047.malone@wampee.canonical.com
State New
Headers show
Series [Bug,1777252] Re: tests/Makefile.include trying to add linking library '-lutil' that break the build on Solaris | expand

Commit Message

Thomas Huth Jan. 15, 2019, 8:56 a.m. UTC
Does something like this work for you?
diff mbox series

Patch

diff --git a/tests/Makefile.include b/tests/Makefile.include
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -777,7 +777,7 @@  tests/migration/initrd-stress.img: tests/migration/stress$(EXESUF)
        rm $(INITRD_WORK_DIR)/init
        rmdir $(INITRD_WORK_DIR)
 
-ifeq ($(CONFIG_POSIX),y)
+ifeq ($(CONFIG_POSIX)$(call lnot,$(CONFIG_SOLARIS)),yy)
 LIBS += -lutil
 endif