| ... | @@ -963,7 +963,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { | ... | @@ -963,7 +963,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation { |
| 963 | break :blk lm; | 963 | break :blk lm; |
| 964 | } else default_link_mode; | 964 | } else default_link_mode; |
| 965 | | 965 | |
| 966 | const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib; | 966 | const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib or options.rdynamic; |
| 967 | | 967 | |
| 968 | const libc_dirs = try detectLibCIncludeDirs( | 968 | const libc_dirs = try detectLibCIncludeDirs( |
| 969 | arena, | 969 | arena, |