summaryrefslogtreecommitdiff
path: root/lakefile.lean
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2026-03-03 16:43:56 +0100
committerHannes Schulze <haschu0103@outlook.de>2026-03-03 16:43:56 +0100
commitac696809b0c62f7f062a0dc155a4bf4a995cc9cf (patch)
treef66179841980d791a935e108c86a4cecf55144e3 /lakefile.lean
parent651c32bad4f336eee9cf423eec5f7b1057a58adf (diff)
display connect/disconnect
Diffstat (limited to 'lakefile.lean')
-rw-r--r--lakefile.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/lakefile.lean b/lakefile.lean
index ecee22d..660403d 100644
--- a/lakefile.lean
+++ b/lakefile.lean
@@ -18,7 +18,7 @@ package «CWayland» {
target «LibCWayland.o» pkg : System.FilePath := do
let objectFile := pkg.buildDir / "LibCWayland.o"
- let srcJob ← inputFile (text := .true) <| pkg.dir / "lib" / "CWayland" / "CWayland.c"
+ let srcJob ← inputFile (text := .true) <| pkg.dir / "lib" / "CWayland" / "CWayland.cc"
let cFlags ← evalPkgConfig #["--cflags", "wayland-client"]
buildFileAfterDep objectFile srcJob (fun srcFile ↦ do
let cFlags := cFlags ++ #["-I", (← getLeanIncludeDir).toString, "-I", (← IO.getEnv "C_INCLUDE_PATH").getD "", "-fPIC"]