Commit <f650e86703847af544762d02f79c70131ff7fbab> added check for
openpty function from util library using AC_CHECK_LIB(). However, that
macro doesn't define OPENPTY_LIBS, it only defines WITH_LIBUTIL and
prepends -lutil into LIBS for the whole project.

Signed-off-by: Pavel Hrdina <phrd...@redhat.com>
---
 src/util/Makefile.inc.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/util/Makefile.inc.am b/src/util/Makefile.inc.am
index 5203fa28d48..eca7e7e0a1e 100644
--- a/src/util/Makefile.inc.am
+++ b/src/util/Makefile.inc.am
@@ -281,7 +281,6 @@ libvirt_util_la_CFLAGS = \
        $(NULL)
 libvirt_util_la_LIBADD = \
        -lm \
-       $(OPENPTY_LIBS) \
        $(CAPNG_LIBS) \
        $(YAJL_LIBS) \
        $(LIBNL_LIBS) \
-- 
2.26.2

Reply via email to