Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From dc024e9079bbffbb44436ba3e70a758ebad5520f Mon Sep 17 00:00:00 2001 |
| 2 | From: "Song.Li" <Song.Li@windriver.com> |
| 3 | Date: Sat, 5 Jan 2013 14:55:59 +0800 |
| 4 | Subject: [PATCH] update dependences of defs.c in Makefile.am |
| 5 | |
| 6 | In gtk/Makefile.am, defs.c should dependes on gdk-types.defs and |
| 7 | gtk-types.defs, otherwise it fails occasionally when parallel compile. |
| 8 | The error message: |
| 9 | "IOError: [Errno 2] No such file or directory: 'gtk-types.defs'" |
| 10 | |
| 11 | Add them to dependences of defs.c to fix this issue. |
| 12 | |
| 13 | Upstream-Status: Submitted |
| 14 | https://bugzilla.gnome.org/show_bug.cgi?id=702706 |
| 15 | |
| 16 | Signed-off-by: Song.Li <Song.Li@windriver.com> |
| 17 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 18 | |
| 19 | --- |
| 20 | gtk/Makefile.am | 2 +- |
| 21 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 22 | |
| 23 | diff --git a/gtk/Makefile.am b/gtk/Makefile.am |
| 24 | index 7bb5d0c..91826cb 100644 |
| 25 | --- a/gtk/Makefile.am |
| 26 | +++ b/gtk/Makefile.am |
| 27 | @@ -289,7 +289,7 @@ if HAVE_GIO_TYPES_DEFS |
| 28 | extra_codegen_args += --register $(PYGOBJECT_DEFSDIR)/gio-types.defs |
| 29 | endif |
| 30 | |
| 31 | -.defs.c: |
| 32 | +.defs.c: gdk-types.defs gtk-types.defs |
| 33 | ($(PYTHON) $(CODEGENDIR)/codegen.py \ |
| 34 | $(PYGTK_CODEGEN_DEFINES) \ |
| 35 | -I $(srcdir) \ |
| 36 | -- |
| 37 | 1.7.9.5 |
| 38 | |