@@ -2012,7 +2012,8 @@ pub fn hasAsmExt(filename: []const u8) bool {
|
||||
pub fn hasSharedLibraryExt(filename: []const u8) bool {
|
||||
if (mem.endsWith(u8, filename, ".so") or
|
||||
mem.endsWith(u8, filename, ".dll") or
|
||||
mem.endsWith(u8, filename, ".dylib"))
|
||||
mem.endsWith(u8, filename, ".dylib") or
|
||||
mem.endsWith(u8, filename, ".tbd"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -221,6 +221,7 @@ const usage_build_generic =
|
||||
\\ .so ELF shared object (dynamic link)
|
||||
\\ .dll Windows Dynamic Link Library
|
||||
\\ .dylib MACH-O (macOS) dynamic library
|
||||
\\ .tbd (macOS) text-based dylib definition
|
||||
\\ .s Target-specific assembly source code
|
||||
\\ .S Assembly with C preprocessor (requires LLVM extensions)
|
||||
\\ .c C source code (requires LLVM extensions)
|
||||
|
||||
Reference in New Issue
Block a user