| author | |
| committer | |
| log | e861da03f9b9d1261cf32872ea942ee7a63812d3 |
| tree | 6317d8efba1a833bec1fc1ecf7cc3907edd393e4 |
| parent | 862ac42a6e1414d3109ec309d36000a8f22821eb |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
src/link.cpp+1-1| ... | ... | @@ -1436,7 +1436,7 @@ static void construct_linker_job_macho(LinkJob *lj) { |
| 1436 | 1436 | |
| 1437 | 1437 | bool is_lib = g->out_type == OutTypeLib; |
| 1438 | 1438 | bool is_dyn_lib = g->is_dynamic && is_lib; |
| 1439 | if (!g->is_dynamic) { | |
| 1439 | if (is_lib && !g->is_dynamic) { | |
| 1440 | 1440 | lj->args.append("-static"); |
| 1441 | 1441 | } else { |
| 1442 | 1442 | lj->args.append("-dynamic"); |