summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r--sbin/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 885e593..d6cb5b5 100644
--- a/sbin/Makefile.inc
+++ b/sbin/Makefile.inc
@@ -2,5 +2,8 @@
# $FreeBSD$
BINDIR?= /sbin
-NOSHARED?= YES
WARNS?= 2
+
+.if !defined (WITH_DYNAMICROOT)
+NOSHARED?= YES
+.endif
OpenPOWER on IntegriCloud