This is intended to fix #11. Unfortunately I haven't been able to successfully build DDS yet to actually try it out, but looking at the surrounding code it seems like the right solution...default_compile_flags
| if (!compiler_id) { | if (!compiler_id) { | ||||
| fail(context, "Cannot deduce library file extension without Compiler-ID"); | fail(context, "Cannot deduce library file extension without Compiler-ID"); | ||||
| } | } | ||||
| if (is_gnu) { | |||||
| if (is_gnu_like) { | |||||
| return ".a"; | return ".a"; | ||||
| } else if (is_msvc) { | } else if (is_msvc) { | ||||
| return ".lib"; | return ".lib"; | ||||
| if (!compiler_id) { | if (!compiler_id) { | ||||
| fail(context, "Cannot deduce object file extension without Compiler-ID"); | fail(context, "Cannot deduce object file extension without Compiler-ID"); | ||||
| } | } | ||||
| if (is_gnu) { | |||||
| if (is_gnu_like) { | |||||
| return ".o"; | return ".o"; | ||||
| } else if (is_msvc) { | } else if (is_msvc) { | ||||
| return ".obj"; | return ".obj"; |