From c569abda54d7fe973d0919a65b8d4f15f87546ab Mon Sep 17 00:00:00 2001
From: Steve Bennett <steveb@workware.net.au>
Date: Sat, 2 Jan 2021 13:58:41 +1000
Subject: build: Dynamic modules require $(LIBJIM)

Add this depenency to avoid issues with parallel builds

Signed-off-by: Steve Bennett <steveb@workware.net.au>
---
 auto.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'auto.def')

diff --git a/auto.def b/auto.def
index 051ddb5..09b0032 100644
--- a/auto.def
+++ b/auto.def
@@ -558,7 +558,7 @@ foreach mod $extinfo(module-c) {
     if {[dict exists $extdb info $mod extrasrcs]} {
         lappend srcs {*}[dict get $extdb info $mod extrasrcs]
     }
-    lappend lines "$mod.so: $srcs"
+    lappend lines "$mod.so: $srcs \$(LIBJIM)"
     foreach src $srcs {
         set obj [file rootname $src].o
         lappend objs $obj
-- 
cgit v1.1

