[libpng17] Fixed a race condition in the creation of the build 'scripts'

directory while building with a parallel make.
This commit is contained in:
John Bowler
2013-02-16 07:52:15 -06:00
committed by Glenn Randers-Pehrson
parent 70e1af50ed
commit bb040784c2
3 changed files with 8 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ endif
.dfn.out:
rm -f $@ $*.c $*.tf[12]
test -d scripts || mkdir scripts
test -d scripts || mkdir scripts || test -d scripts
echo '#include "$<"' >$*.c
$(DFNCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES)\
$(CPPFLAGS) $(SYMBOL_CFLAGS) $*.c > $*.tf1