mirror of
https://github.com/frida/tinycc
synced 2025-01-12 06:39:51 +03:00
fixed dylib typo in libtcc.c
This commit is contained in:
parent
da8c62f75d
commit
fc0188ffbc
2
libtcc.c
2
libtcc.c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user