| ... | @@ -1583,7 +1583,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1583,7 +1583,7 @@ pub const LibExeObjStep = struct { |
| 1583 | red_zone: ?bool = null, | 1583 | red_zone: ?bool = null, |
| 1584 | | 1584 | |
| 1585 | omit_frame_pointer: ?bool = null, | 1585 | omit_frame_pointer: ?bool = null, |
| 1586 | no_dll_export_fns: bool = false, | 1586 | dll_export_fns: ?bool = null, |
| 1587 | | 1587 | |
| 1588 | subsystem: ?std.Target.SubSystem = null, | 1588 | subsystem: ?std.Target.SubSystem = null, |
| 1589 | | 1589 | |
| ... | @@ -2640,8 +2640,12 @@ pub const LibExeObjStep = struct { | ... | @@ -2640,8 +2640,12 @@ pub const LibExeObjStep = struct { |
| 2640 | try zig_args.append("-fno-omit-frame-pointer"); | 2640 | try zig_args.append("-fno-omit-frame-pointer"); |
| 2641 | } | 2641 | } |
| 2642 | } | 2642 | } |
| 2643 | if (self.no_dll_export_fns) { | 2643 | if (self.dll_export_fns) |dll_export_fns| { |
| 2644 | try zig_args.append("-fno-dll-export-fns"); | 2644 | if (dll_export_fns) { |
| | 2645 | try zig_args.append("-fdll-export-fns"); |
| | 2646 | } else { |
| | 2647 | try zig_args.append("-fno-dll-export-fns"); |
| | 2648 | } |
| 2645 | } | 2649 | } |
| 2646 | if (self.disable_sanitize_c) { | 2650 | if (self.disable_sanitize_c) { |
| 2647 | try zig_args.append("-fno-sanitize-c"); | 2651 | try zig_args.append("-fno-sanitize-c"); |