summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2017-06-10 12:30:35 -0700
committerJustus Winter <justus@gnupg.org>2017-06-10 23:35:19 +0200
commitbf1afc9cf958c9270ab73236028097ca0113b176 (patch)
treeebfd90b96eaa318cffd45d4155d9d298862d7d2c /trans
parent019f9923e879ff326b14b2de04c6939c07ccb55b (diff)
trans: Fix parallel build race around MIG-generated headers
This causes random.d to be generated which makes random.o depend on mach_debug_U.h, ensuring it exists before random.c is compiled. * trans/Makefile: Add random.c to SRCS when gcrypt is used.
Diffstat (limited to 'trans')
-rw-r--r--trans/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/trans/Makefile b/trans/Makefile
index f02ddf7b..b2f63ca7 100644
--- a/trans/Makefile
+++ b/trans/Makefile
@@ -60,6 +60,7 @@ ifneq (,$(wildcard ../config.make))
endif
ifeq ($(HAVE_LIBGCRYPT),yes)
+ SRCS += random.c
targets += random
random-LDLIBS = -lgcrypt
random: startup_notifyServer.o mach_debugUser.o ../libtrivfs/libtrivfs.a