diff mbox series

[COMMITTED] ioctl01: Fix compilation

Message ID 20230914074042.27313-1-chrubis@suse.cz
State Accepted
Headers show
Series [COMMITTED] ioctl01: Fix compilation | expand

Commit Message

Cyril Hrubis Sept. 14, 2023, 7:40 a.m. UTC
openpty() needs -lutil on some systems

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/ioctl/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/ioctl/Makefile b/testcases/kernel/syscalls/ioctl/Makefile
index c2ff6c8e7..1d40f5e0b 100644
--- a/testcases/kernel/syscalls/ioctl/Makefile
+++ b/testcases/kernel/syscalls/ioctl/Makefile
@@ -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