git: 5936c0a36b4d - stable/15 - tty_pts: reduce/correct libatf-c linkage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Sep 2026 06:54:13 UTC
The branch stable/15 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=5936c0a36b4da9e53385be6202eedd23179b065c
commit 5936c0a36b4da9e53385be6202eedd23179b065c
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:51:15 +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 5545b1200904..c2b5ea8acfdc 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -129,8 +129,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