src: util: Makefile: drop undefined OPENPTY_LIBS

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 <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Pavel Hrdina 2020-06-24 11:25:58 +02:00
parent eacdda1e7c
commit 6d4e0b5c00

View File

@ -281,7 +281,6 @@ libvirt_util_la_CFLAGS = \
$(NULL) $(NULL)
libvirt_util_la_LIBADD = \ libvirt_util_la_LIBADD = \
-lm \ -lm \
$(OPENPTY_LIBS) \
$(CAPNG_LIBS) \ $(CAPNG_LIBS) \
$(YAJL_LIBS) \ $(YAJL_LIBS) \
$(LIBNL_LIBS) \ $(LIBNL_LIBS) \