diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 15:41:37 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-30 15:41:37 -0400 |
| commit | 38d6189d4335bbcdc38f0c31cf769082b96f22fa (patch) | |
| tree | 430c133eafe0284d0bc10e7571b42bbf02b34aca /src/tomo.c | |
| parent | 494e4ef006cd66ee1d91ea23de9da085bec1e8db (diff) | |
Further support for .dylib files on mac by changing syntax for library
imports to `use -lfoo` instead of `use foo.so`
Diffstat (limited to 'src/tomo.c')
| -rw-r--r-- | src/tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
