Skip to content

Commit

Permalink
fix: use absolute include paths to placate Zig/Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Sep 22, 2021
1 parent fea6eda commit 26c1eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/leanc.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Beware of the licensing consequences since GMP is LGPL.

set -e
bindir=$(dirname $0)
bindir="$(cd $(dirname $0); pwd)" # ensure absolute path for Zig/Windows

cflags=("-I$bindir/../include" @LEANC_EXTRA_FLAGS@)
ldflags=("-L$bindir/../lib" "-L$bindir/../lib/lean" "${LEANC_GMP:--lgmp}" @LEAN_EXTRA_LINKER_FLAGS@)
Expand Down

0 comments on commit 26c1eaa

Please sign in to comment.