1 From 18fe7d300f133c2b9eb93bb4bd81e4644979a74b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com>
3 Date: Tue, 1 Jul 2014 13:13:43 -0600
4 Subject: [PATCH] kadm5: fix race in Makefile with kadm5_err.h
6 When running make with -j4, occasionally kadm5 fails due to a missing
7 header file kadm5_err.h. Fix the race condition.
9 Reported at https://bugzilla.redhat.com/1115164
11 Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
13 Backported from upstream commit
14 6affa4cceceaa1369dd895f8acdd7a883ee65674.
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lib/kadm5/Makefile.am | 1 +
19 1 file changed, 1 insertion(+)
21 diff --git a/lib/kadm5/Makefile.am b/lib/kadm5/Makefile.am
22 index f8be3b1..1b399b1 100644
23 --- a/lib/kadm5/Makefile.am
24 +++ b/lib/kadm5/Makefile.am
25 @@ -155,6 +155,7 @@ iprop-commands.c iprop-commands.h: iprop-commands.in
26 $(SLC) $(srcdir)/iprop-commands.in
28 $(libkadm5srv_la_OBJECTS): kadm5_err.h
29 +$(libkadm5clnt_la_OBJECTS): kadm5_err.h
30 $(iprop_log_OBJECTS): iprop-commands.h
32 client_glue.lo server_glue.lo: $(srcdir)/common_glue.c