summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 0f1de88..bdc5310 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -436,7 +436,11 @@ stage_libs stage_files stage_as:
.else
.if !empty(_LIBS) && !defined(INTERNALLIB)
stage_libs: ${_LIBS}
-all: stage_libs
+.for t in stage_libs stage_files stage_as
+.if target($t)
+all: $t
+.endif
+.endfor
.endif
.if !empty(INCS) || !empty(INCSGROUPS)
prebuild: buildincludes
OpenPOWER on IntegriCloud