Print this page
5468 Missing dependencies in lib/Makefile

@@ -18,10 +18,11 @@
 #
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2015 RackTop Systems.
 #
 
 .KEEP_STATE:
 
 SRCS += fmd.c \

@@ -158,11 +159,11 @@
         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
         $(CTFMERGE) -L VERSION -o $@ $(OBJS)
         $(POST_PROCESS)
 
 $(DMOD): $(DMOD_OBJS)
-        $(LINK.c) $(DMOD_OBJS) -o $@ -lc
+        $(LINK.c) $(DMOD_OBJS) -o $@ $(LDLIBS) -lc
         $(POST_PROCESS)
 
 %.o: ../common/%.c
         $(COMPILE.c) $<
         $(CTFCONVERT_O)