fixed dylib typo in libtcc.c

master
emekoi 2017-10-19 00:55:42 -05:00
parent da8c62f75d
commit fc0188ffbc
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, int flags)
file->line_num = 0;
#ifdef TCC_TARGET_MACHO
if (0 == obj_type && 0 == strcmp(tcc_fileextension(filename), "dylib"))
if (0 == obj_type && 0 == strcmp(tcc_fileextension(filename), ".dylib"))
obj_type = AFF_BINTYPE_DYN;
#endif