[libpng16] 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:38:46 -06:00
committed by Glenn Randers-Pehrson
parent 23a101e06d
commit c9b11ff0d4
3 changed files with 23 additions and 17 deletions

View File

@@ -203,7 +203,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