diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-18 22:22:32 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-18 22:22:32 +0000 |
commit | 208c1a5a6da78b06a88ffe59cafe43e426e28d03 (patch) | |
tree | 13615be8eb2b13cb142809208c2bad47b4bf4a91 /share/mk/bsd.lib.mk | |
parent | 0de4aa5096ef52c8264574b7870c8cbd28ab7960 (diff) | |
download | FreeBSD-src-208c1a5a6da78b06a88ffe59cafe43e426e28d03.zip FreeBSD-src-208c1a5a6da78b06a88ffe59cafe43e426e28d03.tar.gz |
Emendation to previous commit: only create static INTERNALLIBs if
INTERNALSTATICLIB is also set.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 0b01f21..7bc5200 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.7 1994/09/16 14:30:20 jkh Exp $ +# $Id: bsd.lib.mk,v 1.8 1994/09/18 22:06:04 wollman Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -119,11 +119,13 @@ BINMODE?= 555 @${LD} -X -r ${.TARGET} @mv a.out ${.TARGET} +.if !defined(INTERNALLIB) || defined(INTERNALSTATICLIB) .if !defined(NOPROFILE) && !defined(INTERNALLIB) _LIBS=lib${LIB}.a lib${LIB}_p.a .else _LIBS=lib${LIB}.a .endif +.endif .if !defined(NOPIC) .if defined(SHLIB_MAJOR) && defined(SHLIB_MINOR) |