git: 343618cfe7af - stable/14 - tty_pts: reduce/correct libatf-c linkage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Sep 2026 06:50:45 UTC
The branch stable/14 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=343618cfe7aff6ca259ec7b16bf13210ca85592a
commit 343618cfe7aff6ca259ec7b16bf13210ca85592a
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-09-04 18:16:49 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-09-22 06:47:00 +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
(cherry picked from commit 5b10c3c3e3d5125e09e35cd607d15a546d5ad581)
---
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 ecb851644fb9..09ae029b09c9 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -111,8 +111,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