mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-15 16:13:56 +00:00
cleanups
This commit is contained in:
@@ -155,7 +155,11 @@ pub fn build(b: *std.Build) !void {
|
||||
// libghostty-vt xcframework (Apple only, universal binary).
|
||||
// Only when building on macOS (not cross-compiling) since
|
||||
// xcodebuild is required.
|
||||
if (config.emit_lib_vt and config.emit_xcframework and builtin.os.tag.isDarwin() and config.target.result.os.tag.isDarwin()) {
|
||||
if (config.emit_lib_vt and
|
||||
config.emit_xcframework and
|
||||
builtin.os.tag.isDarwin() and
|
||||
config.target.result.os.tag.isDarwin())
|
||||
{
|
||||
const apple_libs = try buildpkg.GhosttyLibVt.initStaticAppleUniversal(
|
||||
b,
|
||||
&config,
|
||||
|
||||
@@ -8,10 +8,7 @@ let package = Package(
|
||||
.executableTarget(
|
||||
name: "swift-vt-xcframework",
|
||||
dependencies: ["GhosttyVt"],
|
||||
path: "Sources",
|
||||
linkerSettings: [
|
||||
.linkedLibrary("c++"),
|
||||
]
|
||||
path: "Sources"
|
||||
),
|
||||
.binaryTarget(
|
||||
name: "GhosttyVt",
|
||||
|
||||
Reference in New Issue
Block a user