diff options
author | Joe Slater <jslater@windriver.com> | 2015-12-04 15:13:15 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-02-02 08:04:12 -0800 |
commit | 4b7bda9d1ac836de0c657cca28044b822e444bea (patch) | |
tree | af8d43dd6cafd560241a8acef9979186abd0ae06 /meta/recipes-extended/ghostscript/ghostscript/png_mak.patch | |
parent | b1175339287395a7ad4fe4639a73f3a1dda74358 (diff) | |
download | openembedded-core-contrib-4b7bda9d1ac836de0c657cca28044b822e444bea.tar.gz |
ghostscript: add dependency for pnglibconf.h
When using parallel make jobs, we need to be sure that
pnglibconf.h is created before we try to reference it,
so add a rule to png.mak.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit fad19750d23aad2d14a1726c4e3c2c0d05f6e13d)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/png_mak.patch')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/png_mak.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch b/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch new file mode 100644 index 0000000000..da900ead3a --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/png_mak.patch @@ -0,0 +1,21 @@ +ghostscript: add dependency for pnglibconf.h + +When using parallel make jobs, we need to be sure that +pnglibconf.h is created before we try to reference it, +so add a rule to png.mak. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater <jslater@windriver.com> + +--- a/base/png.mak ++++ b/base/png.mak +@@ -81,6 +81,8 @@ png.config-clean : + $(pnglibconf_h) : $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt + $(CP_) $(PNGSRC)scripts$(D)pnglibconf.h.prebuilt $(pnglibconf_h) + ++$(MAKEDIRS) : $(pnglibconf_h) ++ + PDEP=$(AK) $(pnglibconf_h) $(MAKEDIRS) + + png_1=$(PNGOBJ)png.$(OBJ) $(PNGOBJ)pngmem.$(OBJ) $(PNGOBJ)pngerror.$(OBJ) $(PNGOBJ)pngset.$(OBJ) |