Skip to contentSkip to conversation

ioctl01: Fix compilation

PATCH New Cyril Hrubis 1 participant 1 message Sep 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioctl01: Fix compilation

openpty() needs -lutil on some systems

---
 testcases/kernel/syscalls/ioctl/Makefile | 2 ++
 1 file changed, 2 insertions(+)
testcases/kernel/syscalls/ioctl/Makefile +2 -0
index c2ff6c8e7..1d40f5e0b 100644
@@ -7,6 +7,8 @@ include $(top_srcdir)/include/mk/testcases.mk
 
 INSTALL_TARGETS		+= test_ioctl
 
+ioctl01: LDLIBS+=-lutil
+
 ifeq ($(ANDROID),1)
 FILTER_OUT_MAKE_TARGETS	+= ioctl02
 endif
Signature · 5 lines
2.39.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp