mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 23:40:27 +00:00
Mingw is a sepate os/which target than windows.
This commit is contained in:
parent
b8aec50763
commit
6998865d7b
@ -4000,7 +4000,8 @@
|
|||||||
|
|
||||||
(compwhen (dyn 'os/stat)
|
(compwhen (dyn 'os/stat)
|
||||||
|
|
||||||
(defn- sep [] (if (= :windows (os/which)) "\\" "/"))
|
(def- seps {:windows "\\" :mingw "\\" :cygwin "\\"})
|
||||||
|
(defn- sep [] (get seps (os/which) "/"))
|
||||||
|
|
||||||
(defn- bundle-rpath
|
(defn- bundle-rpath
|
||||||
[path]
|
[path]
|
||||||
|
Loading…
Reference in New Issue
Block a user