Print this page
5468 Missing dependencies in lib/Makefile
5709 Add binary compatibility with Solaris 10 update 10.

@@ -18,15 +18,15 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
-#ident  "%Z%%M% %I%     %E% SMI"
-#
 # Copyright (c) 1999 by Sun Microsystems, Inc.
 # All rights reserved.
 #
+# Copyright 2015 RackTop Systems.
+#
 # cmd/fs.d/cachefs/unshare
 #
 
 FSTYPE=         cachefs
 LIBPROG=        unshare

@@ -37,10 +37,10 @@
 PROGOBJS=       $(PROGSRCS:%.c=%.o)
 
 PROGSRCS=       $(LIBPROG:%=%.c)
 
 $(LIBPROG):     $(PROGOBJS)
-        $(LINK.c) -o $@ $(PROGOBJS)
+        $(LINK.c) -o $@ $(PROGOBJS) $(LDLIBS)
         $(POST_PROCESS)
 
 clean:
         $(RM) $(PROGOBJS) $(LIBPROG)