aboutsummaryrefslogtreecommitdiff
path: root/src/tomo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tomo.c')
-rw-r--r--src/tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tomo.c b/src/tomo.c
index 9d53a8f4..e6a6becf 100644
--- a/src/tomo.c
+++ b/src/tomo.c
@@ -625,7 +625,7 @@ void build_file_dependency_graph(Path_t path, Table_t *to_compile, Table_t *to_l
break;
}
case USE_SHARED_OBJECT: {
- Text_t lib = Text$format("-l:%s", use->path);
+ Text_t lib = Text$from_str(use->path);
Table$set(to_link, &lib, ((Bool_t[1]){1}), Table$info(&Text$info, &Bool$info));
break;
}