summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-06-28 08:14:10 +0000
committerpst <pst@FreeBSD.org>1997-06-28 08:14:10 +0000
commit4a9547432a88dd55a836d40499a08da09260348e (patch)
tree5eb49bb5fa65ab59a1f4c438ca78bc7a84f83a60 /share
parent6ea83153faa4766fccd1699cc177bcfa3a346f40 (diff)
downloadFreeBSD-src-4a9547432a88dd55a836d40499a08da09260348e.zip
FreeBSD-src-4a9547432a88dd55a836d40499a08da09260348e.tar.gz
Make NOSHARED = no / NOSHARED = NO do what you'd expect.
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.prog.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index c892983..7edf5c2 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
-# $Id: bsd.prog.mk,v 1.50 1997/05/23 08:38:46 asami Exp $
+# $Id: bsd.prog.mk,v 1.51 1997/06/21 15:40:33 jkh Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@@ -17,7 +17,7 @@ CXXINCLUDES+= -I${DESTDIR}/usr/include/g++
STRIP?= -s
.endif
-.if defined(NOSHARED)
+.if defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" )
LDFLAGS+= -static
.endif
OpenPOWER on IntegriCloud