Skip to content

Commit

Permalink
changing the linker flag?
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Brick committed Feb 28, 2024
1 parent 03edb0b commit 5162224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lean_exe «datetime» where
target datetime.o pkg : FilePath := do
let oFile := pkg.buildDir / "DateTime" / "c" / "datetime.o"
let srcJob ← inputFile <| pkg.dir / "DateTime" / "c" / "datetime.cpp"
let flags := #["-I", (← getLeanIncludeDir).toString, "-fPIC", "-lstdc++", "-fno-exceptions"]
let flags := #["-I", (← getLeanIncludeDir).toString, "-fPIC", "-lc++", "-fno-exceptions"]
buildO "datetime.cpp" oFile srcJob flags #[] "g++"

extern_lib libleandatetime pkg := do
Expand Down

0 comments on commit 5162224

Please sign in to comment.