From 4ad025bd1b37a4545ce4dad0287f8a918b57b720 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 23 Mar 2026 10:57:58 -0400 Subject: [PATCH] fix(aarch64 support): include path for UnicodeCLib in lakefile --- lakefile.lean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lakefile.lean b/lakefile.lean index 935eced41..6b41b54a4 100644 --- a/lakefile.lean +++ b/lakefile.lean @@ -19,7 +19,7 @@ target UnicodeCLib pkg : FilePath := do if file.path.extension == some "c" then let obj := pkg.buildDir / "UnicodeCLib" / ((file.fileName.dropSuffix ".c" |>.copy) ++ ".o") let src ← inputTextFile file.path - let weakArgs := #["-I", (← getLeanIncludeDir).toString, "-O", "-fPIC"] + let weakArgs := #["-I", (← getLeanIncludeDir).toString, "-I", (pkg.dir / "UnicodeCLib").toString, "-O", "-fPIC"] oFiles := oFiles.push <| ← buildO obj src weakArgs let name := nameToStaticLib "unicodeclib" buildStaticLib (pkg.sharedLibDir / name) oFiles