Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading