[libpng16] Fixed missing dependency in --prefix builds The intermediate

internal 'prefix.h' file can only be generated correctly after
pnglibconf.h, however the dependency was not in Makefile.am.  The
symptoms are unpredictable depending on the order make chooses to
build pngprefix.h and pnglibconf.h, often the error goes unnoticed
because there is a system pnglibconf.h to use instead.
This commit is contained in:
John Bowler
2013-02-09 07:24:08 -06:00
committed by Glenn Randers-Pehrson
parent f88ac51a2e
commit b8d0534e9d
3 changed files with 16 additions and 9 deletions

View File

@@ -119,6 +119,7 @@ $(PNGLIB_BASENAME)-config: libpng-config
scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
scripts/prefix.out: png.h pngconf.h pnglibconf.out
scripts/symbols.out: png.h pngconf.h $(srcdir)/scripts/pnglibconf.h.prebuilt
scripts/intprefix.out: pnglibconf.h
libpng.sym: scripts/sym.out
rm -f $@