[PATCH] make sure create header file first
- From: Kai Kang <kai kang windriver com>
 
- To: <clutter-list gnome org>
 
- Subject: [PATCH] make sure create header file first
 
- Date: Tue, 3 Dec 2013 18:16:06 +0800
 
clutter failed to compile randomly and hard to reproduce. It fails with:
test-main.c:6:29: fatal error: test-unit-names.h: No such file or directory
Header file test-unit-names.h is created during compiling. It should
exist before compile binaries, otherwise it fails with 'No such file or
directory'.
Update dependency to make sure that create file test-unit-names.h before
compile binaries.
Signed-off-by: Kai Kang <kai kang windriver com>
---
 tests/interactive/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am
index f9e6174..ceeb525 100644
--- a/tests/interactive/Makefile.am
+++ b/tests/interactive/Makefile.am
@@ -98,6 +98,7 @@ test_interactive_CPPFLAGS = \
        -DCLUTTER_DISABLE_DEPRECATION_WARNINGS
 test_interactive_LDFLAGS = -export-dynamic
 test_interactive_LDADD = $(CLUTTER_LIBS) $(GDK_PIXBUF_LIBS) $(common_ldadd) -lm
+EXTRA_test_interactive_DEPENDENCIES = test-unit-names.h
 
 EXTRA_DIST = \
        wrapper.sh.in                   \
-- 
1.8.1.2
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]