diff options
| author | 2024-01-28 09:52:17 +0800 | |
|---|---|---|
| committer | 2024-01-28 09:52:17 +0800 | |
| commit | 21a05912cb058a2b8f429eecf95045a03c29e3a5 (patch) | |
| tree | 6f6f5480b562678735488ffe81ccf53581b299d1 /build.zig | |
| parent | refactor TestTarget (diff) | |
| download | zig-sqlite-21a05912cb058a2b8f429eecf95045a03c29e3a5.tar.gz zig-sqlite-21a05912cb058a2b8f429eecf95045a03c29e3a5.tar.xz zig-sqlite-21a05912cb058a2b8f429eecf95045a03c29e3a5.zip | |
pie
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -447,7 +447,7 @@ pub fn build(b: *std.Build) !void { | |||
| 447 | .target = getTarget(target, true), | 447 | .target = getTarget(target, true), |
| 448 | .optimize = optimize, | 448 | .optimize = optimize, |
| 449 | }); | 449 | }); |
| 450 | // zigcrypto_loadable_ext.force_pic = true; | 450 | zigcrypto_loadable_ext.pie = true; |
| 451 | zigcrypto_loadable_ext.addIncludePath(.{ .path = "c" }); | 451 | zigcrypto_loadable_ext.addIncludePath(.{ .path = "c" }); |
| 452 | zigcrypto_loadable_ext.root_module.addImport("sqlite", b.createModule(.{ | 452 | zigcrypto_loadable_ext.root_module.addImport("sqlite", b.createModule(.{ |
| 453 | .root_source_file = .{ .path = "sqlite.zig" }, | 453 | .root_source_file = .{ .path = "sqlite.zig" }, |