pkg/breakpad: add linux_syscall_support.h to the vendored files
parent
f133206c55
commit
0f35f6267e
|
|
@ -1,5 +1,6 @@
|
||||||
vendor/** linguist-vendored
|
vendor/** linguist-vendored
|
||||||
website/** linguist-documentation
|
website/** linguist-documentation
|
||||||
|
pkg/breakpad/vendor/** linguist-vendored
|
||||||
pkg/cimgui/vendor/** linguist-vendored
|
pkg/cimgui/vendor/** linguist-vendored
|
||||||
pkg/simdutf/vendor/** linguist-vendored
|
pkg/simdutf/vendor/** linguist-vendored
|
||||||
src/terminal/res/** linguist-vendored
|
src/terminal/res/** linguist-vendored
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ pub fn build(b: *std.Build) !void {
|
||||||
});
|
});
|
||||||
lib.linkLibCpp();
|
lib.linkLibCpp();
|
||||||
lib.addIncludePath(upstream.path("src"));
|
lib.addIncludePath(upstream.path("src"));
|
||||||
|
lib.addIncludePath(b.path("vendor"));
|
||||||
if (target.result.isDarwin()) {
|
if (target.result.isDarwin()) {
|
||||||
const apple_sdk = @import("apple_sdk");
|
const apple_sdk = @import("apple_sdk");
|
||||||
try apple_sdk.addPaths(b, &lib.root_module);
|
try apple_sdk.addPaths(b, &lib.root_module);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -175,6 +175,10 @@ pub fn build(b: *std.Build) !void {
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
lib.linkLibrary(breakpad_dep.artifact("breakpad"));
|
lib.linkLibrary(breakpad_dep.artifact("breakpad"));
|
||||||
|
|
||||||
|
// We need to add this because Sentry includes some breakpad
|
||||||
|
// headers that include this vendored file...
|
||||||
|
lib.addIncludePath(breakpad_dep.path("vendor"));
|
||||||
},
|
},
|
||||||
|
|
||||||
.inproc => lib.addCSourceFiles(.{
|
.inproc => lib.addCSourceFiles(.{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue