Module Name:    src
Committed By:   martin
Date:           Sun Nov  7 18:05:37 UTC 2021

Modified Files:
        src/tests/lib/libc/gen/posix_spawn: Makefile

Log Message:
Fix linking for multi-source file tests, the second part of the tuple
needs to be the C source file (not the base name)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/posix_spawn/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/gen/posix_spawn/Makefile
diff -u src/tests/lib/libc/gen/posix_spawn/Makefile:1.3 src/tests/lib/libc/gen/posix_spawn/Makefile:1.4
--- src/tests/lib/libc/gen/posix_spawn/Makefile:1.3	Sun Nov  7 15:46:20 2021
+++ src/tests/lib/libc/gen/posix_spawn/Makefile	Sun Nov  7 18:05:36 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/11/07 15:46:20 christos Exp $
+# $NetBSD: Makefile,v 1.4 2021/11/07 18:05:36 martin Exp $
 
 NOMAN=		# defined
 WARNS=4
@@ -11,8 +11,8 @@ TESTS_C=	t_spawn
 TESTS_C+=	t_fileactions
 TESTS_C+=	t_spawnattr
 
-SRCS.t_spawn += t_spawn fa_spawn_utils
-SRCS.t_fileactions += t_fileactions fa_spawn_utils
+SRCS.t_spawn += t_spawn fa_spawn_utils.c
+SRCS.t_fileactions += t_fileactions fa_spawn_utils.c
 
 BINDIR=		${TESTSDIR}
 SCRIPTSDIR=	${TESTSDIR}

Reply via email to