aboutsummaryrefslogtreecommitdiffhomepage
path: root/bundle
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-09-24 07:48:34 -0500
committerCalvin Rose <calsrose@gmail.com>2024-09-24 07:48:34 -0500
commitd015a3596d6a1dcd2cebdf14ada0e041f4262dbe (patch)
tree463fa4f9f9cdeef7f1788b404a9923f1e8d3a75c /bundle
parentClean up some leaked descriptors in spork/cc. (diff)
Start adding more windows testing.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/init.janet3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundle/init.janet b/bundle/init.janet
index 7fd70e2..6b8d9bd 100644
--- a/bundle/init.janet
+++ b/bundle/init.janet
@@ -39,6 +39,9 @@
:windows cc/msvc-compile-and-make-archive
cc/compile-and-make-archive))
+ (when (= :windows (os/which))
+ (setdyn cc/*msvc-libs* (cc/msvc-janet-import-lib)))
+
(defn make1
[name & other-srcs]
(def from (string "src/" name ".c"))