aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index 893c93a..615f157 100644
--- a/auto.def
+++ b/auto.def
@@ -468,6 +468,8 @@ if {$jimregexp || [opt-bool jim-regexp]} {
foreach mod $extinfo(static-c) {
if {[dict exists $extdb info $mod extrasrcs]} {
foreach src [dict get $extdb info $mod extrasrcs] {
+ # In case we are building out-of-tree and $src is in a subdir
+ file mkdir [file dirname $src]
lappend extra_objs {*}[file rootname $src].o
}
}