mirror of
https://github.com/frida/tinycc
synced 2025-01-26 05:02:02 +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;
|
file->line_num = 0;
|
||||||
|
|
||||||
#ifdef TCC_TARGET_MACHO
|
#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;
|
obj_type = AFF_BINTYPE_DYN;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user