Skip to content

Commit

Permalink
Fix mac+clang setup with custom JANET_PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Dec 15, 2024
1 parent 18938c5 commit e239392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spork/cc.janet
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
(def sp (dyn *syspath* "."))
(def parts (filter next (path/parts sp)))
(if (= "janet" (last parts))
(path/abspath (string sp "/.."))))
(path/abspath (string sp "/.."))
(path/abspath ".")))

(defn- include-path []
"Guess a header path based on the current system path"
Expand Down

0 comments on commit e239392

Please sign in to comment.