Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

@@ -132,11 +132,13 @@
 # Special target for native builds (ie. when we need to build a version of ld
 # to build a version of ld :-).
 
 native:         $(SGSLIBDIR)/$(LIBLINKS)
 
-$(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)
+$(PICS):        pics
+
+$(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
                 $(BUILD.SO)
                 $(POST_PROCESS_SO)
 
 $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
                 -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)