summaryrefslogtreecommitdiff
path: root/usr/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/Makefile')
-rw-r--r--usr/src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 566050738b..2fce5ba301 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -191,6 +191,10 @@ $(SUBDIRS) head ucbhead pkg: FRC
sgs: rootdirs .WAIT sysheaders userheaders .WAIT \
libheaders ucbheaders cmdheaders
+# To prevent 'ld: warning: dynamic library found on default search path', make
+# sure we've finished building all of the libraries before doing cmd and test.
+test cmd: lib
+
#
# Top-level setup target to setup the development environment that includes
# headers, tools and generated mapfiles. For open-only builds (i.e.: source