Unified · Split
| @@ -1020,7 +1020,7 @@ ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, int flags) · 1019 unmodified lines | ||
| 1020 | 1020 | file->line_num = 0; |
| 1021 | 1021 | |
| 1022 | 1022 | #ifdef TCC_TARGET_MACHO |
| 1023 | − if (0 == obj_type && 0 == strcmp(tcc_fileextension(filename), "dylib")) | |
| 1023 | + if (0 == obj_type && 0 == strcmp(tcc_fileextension(filename), ".dylib")) | |
| 1024 | 1024 | obj_type = AFF_BINTYPE_DYN; |
| 1025 | 1025 | #endif |
| 1026 | 1026 | |