diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-17 18:36:55 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-17 18:36:55 -0400 |
| commit | ca004e57f2589c852a69033c45c3778036a8def9 (patch) | |
| tree | 460399c1ce0839107a625bfe5db29c0af756bea5 /tomo.c | |
| parent | 74f6aaa97c519080aaa54a8a934c3766bdb0835b (diff) | |
Fix issue with extern functions
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -329,7 +329,7 @@ void build_library(Text_t lib_dir_name) FILE *prog; for (int64_t i = 0; i < tm_files.length; i++) { Path_t f = *(Path_t*)(tm_files.data + i*tm_files.stride); - prog = run_cmd("nm -Ug -fjust-symbols '%s.o' | sed 's/_\\$\\(.*\\)/\\0 _$%s$\\1/' >>symbol_renames.txt", + prog = run_cmd("nm -Ug -fjust-symbols '%s.o' | sed -n 's/_\\$\\(.*\\)/\\0 _$%s$\\1/p' >>symbol_renames.txt", Path$as_c_string(f), CORD_to_const_char_star(env->libname)); int status = pclose(prog); if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) |
