From fc0188ffbcf29f856caedee8cef07d88be01e439 Mon Sep 17 00:00:00 2001 From: emekoi Date: Thu, 19 Oct 2017 00:55:42 -0500 Subject: [PATCH] fixed dylib typo in libtcc.c --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtcc.c b/libtcc.c index 43a07ef..092c0ba 100644 --- a/libtcc.c +++ b/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