mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
build: add support for Android NDK path configuration
This commit is contained in:
@@ -62,6 +62,10 @@ pub fn initShared(
|
||||
.{ .include_extensions = &.{".h"} },
|
||||
);
|
||||
|
||||
if (lib.rootModuleTarget().abi.isAndroid()) {
|
||||
try @import("android_ndk").addPaths(b, lib);
|
||||
}
|
||||
|
||||
if (lib.rootModuleTarget().os.tag.isDarwin()) {
|
||||
// Self-hosted x86_64 doesn't work for darwin. It may not work
|
||||
// for other platforms too but definitely darwin.
|
||||
|
||||
Reference in New Issue
Block a user