Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/linker.c b/src/linker.c
- index 6cf1c87..3d18667 100644
- --- a/src/linker.c
- +++ b/src/linker.c
- @@ -278,7 +278,10 @@ static int process_dependencies(jq_state *jq, jv jq_origin, jv lib_origin, block
- // resolved has been freed
- 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);
- + else
- + bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, as_str);
- }
- }
- jv_free(as);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement