| ... | @@ -991,7 +991,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -991,7 +991,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 991 | break :blk lm; | 991 | break :blk lm; |
| 992 | } else default_link_mode; | 992 | } else default_link_mode; |
| 993 | | 993 | |
| 994 | const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib; | 994 | const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib or options.rdynamic; |
| 995 | | 995 | |
| 996 | const libc_dirs = try detectLibCIncludeDirs( | 996 | const libc_dirs = try detectLibCIncludeDirs( |
| 997 | arena, | 997 | arena, |