Skip to content

Commit

Permalink
kadm5: fix race in Makefile with kadm5_err.h
Browse files Browse the repository at this point in the history
When running make with -j4, occasionally kadm5 fails due to a missing
header file kadm5_err.h. Fix the race condition.

Reported at https://bugzilla.redhat.com/1115164

Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
(cherry picked from commit 6affa4c)
  • Loading branch information
jcajka authored and ktdreyer committed Jan 15, 2015
1 parent 79b7b07 commit db29ba0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kadm5/Makefile.am
Expand Up @@ -155,6 +155,7 @@ iprop-commands.c iprop-commands.h: iprop-commands.in
$(SLC) $(srcdir)/iprop-commands.in

$(libkadm5srv_la_OBJECTS): kadm5_err.h
$(libkadm5clnt_la_OBJECTS): kadm5_err.h
$(iprop_log_OBJECTS): iprop-commands.h

client_glue.lo server_glue.lo: $(srcdir)/common_glue.c
Expand Down

0 comments on commit db29ba0

Please sign in to comment.