mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
build: include breakpad in static lib bundle for lib
This commit is contained in:
@ -1161,6 +1161,13 @@ fn addDeps(
|
|||||||
// Sentry
|
// Sentry
|
||||||
step.linkLibrary(sentry_dep.artifact("sentry"));
|
step.linkLibrary(sentry_dep.artifact("sentry"));
|
||||||
try static_libs.append(sentry_dep.artifact("sentry").getEmittedBin());
|
try static_libs.append(sentry_dep.artifact("sentry").getEmittedBin());
|
||||||
|
|
||||||
|
// We also need to include breakpad in the static libs.
|
||||||
|
const breakpad_dep = sentry_dep.builder.dependency("breakpad", .{
|
||||||
|
.target = target,
|
||||||
|
.optimize = optimize,
|
||||||
|
});
|
||||||
|
try static_libs.append(breakpad_dep.artifact("breakpad").getEmittedBin());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dynamic link
|
// Dynamic link
|
||||||
|
Reference in New Issue
Block a user