Skip to content

Commit f9ec204

Browse files
committed
Fix for MKPICINSTALL=yes. Add override so that we don't install the helper
_pic.a
1 parent 907f8e5 commit f9ec204

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

share/mk/bsd.lib.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: bsd.lib.mk,v 1.426 2026/01/18 08:30:33 mrg Exp $
1+
# $NetBSD: bsd.lib.mk,v 1.427 2026/01/21 17:57:27 christos Exp $
22
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
33

44
.include <bsd.init.mk>
@@ -911,7 +911,7 @@ ${_DEST.LIB}/${_LIB_g.a}: ${_LIB_g.a} __archiveinstall
911911
.endif
912912
.endif
913913

914-
.if ${MKPIC} != "no" && ${MKPICINSTALL} != "no"
914+
.if ${MKPIC} != "no" && ${MKPICINSTALL} != "no" && !defined(NOPICINSTALL)
915915
libinstall:: ${_DEST.LIB}/${_LIB_pic.a}
916916
.PRECIOUS: ${_DEST.LIB}/${_LIB_pic.a}
917917

tests/lib/libpthread/weak/lib/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# $NetBSD: Makefile,v 1.1 2025/10/06 13:16:44 riastradh Exp $
1+
# $NetBSD: Makefile,v 1.2 2026/01/21 17:57:27 christos Exp $
22
#
33

44
MKPROFILE= no # XXX hack -- should be NOPROFILE
55
NOLINT= # defined
6+
NOPICINSTALL= # defined
67
NOMAN= # defined
78
NOSTATICLIB= # defined
89

0 commit comments

Comments
 (0)