1
0
mirror of https://github.com/janet-lang/janet synced 2024-10-01 16:30:40 +00:00

Mingw is a sepate os/which target than windows.

This commit is contained in:
Calvin Rose 2024-05-26 10:41:12 -05:00
parent b8aec50763
commit 6998865d7b

View File

@ -4000,7 +4000,8 @@
(compwhen (dyn 'os/stat)
(defn- sep [] (if (= :windows (os/which)) "\\" "/"))
(def- seps {:windows "\\" :mingw "\\" :cygwin "\\"})
(defn- sep [] (get seps (os/which) "/"))
(defn- bundle-rpath
[path]