Whamcloud - gitweb
Fix parallel build problem
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 May 2008 00:34:12 +0000 (20:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 12 May 2008 00:34:12 +0000 (20:34 -0400)
Problem was introduced by commit a4b69b7f1809898c87bdc11502ca258a8f16a220

Thanks to Eric Sandeen from Red Hat for pointing out this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/Makefile.library

index 52f28bb..7d9e99f 100644 (file)
@@ -13,7 +13,7 @@ subdirs:: Makefile
 clean::
        @$(RM) -f subdirs
 
-$(LIB)/$(LIBRARY).a $(LIBRARY).a: $(OBJS)
+$(LIBRARY).a: $(OBJS)
        @echo " GEN_LIB $@"
        @(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
        @$(ARGEN) $@ $(OBJS)
@@ -21,3 +21,4 @@ $(LIB)/$(LIBRARY).a $(LIBRARY).a: $(OBJS)
        @$(RM) -f ../$@
        @$(LN) $@ ../$@
 
+$(LIB)/$(LIBRARY).a: $(LIBRARY).a