Print this page
5468 Missing dependencies in lib/Makefile

@@ -17,10 +17,11 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2015 RackTop Systems.
 #
 # cmd/fs.d/autofs/Makefile
 
 FSTYPE=         autofs
 AUTO=           automount

@@ -123,15 +124,15 @@
 $(TYPEPROG):    webnfs.h $(TYPEOBJS)
                 $(LINK.c) -o $@ $(TYPEOBJS) $(LDLIBS)
                 $(POST_PROCESS)
 
 $(SHARE):       $(SHAREOBJS)
-                $(LINK.c) -o $@ $(SHAREOBJS)
+                $(LINK.c) -o $@ $(SHAREOBJS) $(LDLIBS)
                 $(POST_PROCESS)
 
 $(UNSHARE):     $(UNSHAREOBJS)
-                $(LINK.c) -o $@ $(UNSHAREOBJS)
+                $(LINK.c) -o $@ $(UNSHAREOBJS) $(LDLIBS)
                 $(POST_PROCESS)
 
 $(ROOTSVCSYSTEM)/filesystem/%: %
                 $(INS.file)