mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
zig: -rdynamic now implies -fdll-export-fns unless the latter is explicitly set.
Fixes #9340.
This commit is contained in:
parent
7b9612a922
commit
a45c0c5033
1 changed files with 1 additions and 1 deletions
|
|
@ -963,7 +963,7 @@ pub fn create(gpa: *Allocator, options: InitOptions) !*Compilation {
|
|||
break :blk lm;
|
||||
} else default_link_mode;
|
||||
|
||||
const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib;
|
||||
const dll_export_fns = if (options.dll_export_fns) |explicit| explicit else is_dyn_lib or options.rdynamic;
|
||||
|
||||
const libc_dirs = try detectLibCIncludeDirs(
|
||||
arena,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue