X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Ftarget.mk;h=1e9a4d407b560bbdd24a08f337c9697783b2034a;hb=6682da21838666a8d94c174e48fc23df26001b69;hp=353bdd04bd5f169ca90eec2b25968340ff03b085;hpb=4b29490541188e6020a3e3bdbda14b1a7cbf6b98;p=ghc-hetmet.git diff --git a/mk/target.mk b/mk/target.mk index 353bdd0..1e9a4d4 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -357,7 +357,10 @@ SRC_HC_POST_OPTS += \ endif # SplitObjs endif # StripLibraries -$(LIBRARY) : $(STUBOBJS) $(LIBOBJS) +# Note: $(STUBOBJS) isn't depended on here, but included when building the lib. +# (i.e., the assumption is that $(STUBOBJS) are created as a side-effect +# of building $(LIBOBJS)). +$(LIBRARY) : $(LIBOBJS) $(BUILD_LIB) endif # LIBRARY = ""