Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option
commit7a3f6d49415fd5f1fa99d25aba40c7884d5774a4
authorYX Hao <lifenjoiner@163.com>
Mon, 16 Jun 2014 08:00:46 +0000 (16 16:00 +0800)
committerYX Hao <lifenjoiner@163.com>
Mon, 16 Jun 2014 08:00:46 +0000 (16 16:00 +0800)
tree640612c2f681252b29e15e31abbf667135c75fdc
parentd316836008f4738d5a020b28aa33e96a82a81aca
Win: Enable use "*.def + *.c" files as library instead of *.a by "-l" option

example: "-lshell32" will try "shell32.def + shell32.c"

Add lib type "%s/%s.c" for tcc_add_library() ('-l' option parse)

So tcc can use all files as scripts.
libtcc.c