mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
pkg/breakpad: add linux_syscall_support.h to the vendored files
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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);
|
||||||
|
5375
pkg/breakpad/vendor/third_party/lss/linux_syscall_support.h
vendored
Normal file
5375
pkg/breakpad/vendor/third_party/lss/linux_syscall_support.h
vendored
Normal file
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(.{
|
||||||
|
Reference in New Issue
Block a user