summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/linker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linker.c b/src/linker.c
index 6cf1c879..1b9d62c8 100644
--- a/src/linker.c
+++ b/src/linker.c
@@ -279,6 +279,8 @@ static int process_dependencies(jq_state *jq, jv jq_origin, jv lib_origin, block
if (nerrors == 0) {
// Bind the library to the program
bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, as_str);
+ if (is_data)
+ bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, NULL);
}
}
jv_free(as);