Print this page
5468 Missing dependencies in lib/Makefile

@@ -16,13 +16,13 @@
 # fields enclosed by brackets "[]" replaced with your own identifying
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
-
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2015 RackTop Systems.
 #
 
 all: $(PROG) $(DMODPROG)
 
 .NO_PARALLEL:

@@ -33,11 +33,11 @@
         $(CTFMERGE) -L VERSION -o $@ $(OBJS)
         $(POST_PROCESS_SO)
 
 $(DMODPROG): $(DMOD_OBJS)
         -@mkdir -p $(@D)
-        $(LINK.c) $(DMOD_OBJS) -o $@
+        $(LINK.c) $(DMOD_OBJS) -o $@ $(LDLIBS)
         $(POST_PROCESS)
 
 %.o: %.c
         $(COMPILE.c) $<
         $(CTFCONVERT_O)