1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-02 08:33:04 +00:00

Use /MD on windows.

Just makes things easier. Assume machines have msvcrt.dll
on them. If not, we can add msvcrt.dll to the dist folder and add to
installer.
This commit is contained in:
Calvin Rose
2019-11-09 16:05:07 -05:00
parent 135abff100
commit c9292ef648
3 changed files with 3 additions and 22 deletions

View File

@@ -116,14 +116,14 @@
(def default-lflags (if is-win ["/nologo"] []))
(def default-cflags
(if is-win
["/nologo"]
["/nologo" "/MD"]
["-std=c99" "-Wall" "-Wextra"]))
# Required flags for dynamic libraries. These
# are used no matter what for dynamic libraries.
(def- dynamic-cflags
(if is-win
[]
["/LD"]
["-fPIC"]))
(def- dynamic-lflags
(if is-win