Skip to content

Commit

Permalink
Update build.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 16, 2024
1 parent 21c2924 commit e2ed8d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ pub fn addBunObject(b: *Build, opts: *BunBuildOptions) *Compile {
},
.target = opts.target,
.optimize = opts.optimize,
.pic = opts.target.result.isAndroid() or opts.target.result.isDarwin(),

// https://github.com/ziglang/zig/issues/17430
.pic = true,

.strip = false, // stripped at the end
});
obj.bundle_compiler_rt = false;
Expand Down

0 comments on commit e2ed8d9

Please sign in to comment.