Skip to content

Commit 81c5840

Browse files
authored
fix: include path for UnicodeCLib in lakefile (#130)
1 parent 42d2b4e commit 81c5840

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lakefile.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ target UnicodeCLib pkg : FilePath := do
1919
if file.path.extension == some "c" then
2020
let obj := pkg.buildDir / "UnicodeCLib" / ((file.fileName.dropSuffix ".c" |>.copy) ++ ".o")
2121
let src ← inputTextFile file.path
22-
let weakArgs := #["-I", (← getLeanIncludeDir).toString, "-O", "-fPIC"]
22+
let weakArgs := #["-I", (← getLeanIncludeDir).toString, "-I", (pkg.dir / "UnicodeCLib").toString, "-O", "-fPIC"]
2323
oFiles := oFiles.push <| ← buildO obj src weakArgs
2424
let name := nameToStaticLib "unicodeclib"
2525
buildStaticLib (pkg.sharedLibDir / name) oFiles

0 commit comments

Comments
 (0)