git: 5b10c3c3e3d5 - main - tty_pts: reduce/correct libatf-c linkage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 18:33:31 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b10c3c3e3d5125e09e35cd607d15a546d5ad581
commit 5b10c3c3e3d5125e09e35cd607d15a546d5ad581
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-09-04 18:16:49 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-09-04 18:18:55 +0000
tty_pts: reduce/correct libatf-c linkage
ATF_TESTS_C automatically adds the appropriate library to LDADD --
there's no need to manually append the same library.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D59411
---
tests/sys/kern/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index 49a5ecd5e492..c193e7108dc0 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -130,8 +130,7 @@ NETBSD_ATF_TESTS_C+= sysv_test
CFLAGS.mqueue_test+= -I${SRCTOP}/tests
LIBADD.mqueue_test+= rt
-
-LIBADD.tty_pts+= atf_c util
+LIBADD.tty_pts+= util
ATF_TESTS_C+= libkern_crc32
SRCS.libkern_crc32+= libkern_crc32.c