Skip to content

Commit

Permalink
build: link to mingwex
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Dec 21, 2024
1 parent fb7e944 commit fde32eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/linking.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function link_image_cmd(path, out)
LIBS = is_debug() ? ("-ljulia-debug", "-ljulia-internal-debug") :
("-ljulia", "-ljulia-internal")
@static if Sys.iswindows()
LIBS = (LIBS..., "-lssp", "-lgcc_s", "-lgcc", "-lmsvcrt")
LIBS = (LIBS..., "-lssp", "-lgcc_s", "-lgcc", "-lmsvcrt", "-lmingwex")
end

V = VERBOSE[] ? "--verbose" : ""
Expand Down
2 changes: 2 additions & 0 deletions deps/csl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ install-csl:
cp -a $(build_libdir)/gcc/$(BB_TRIPLET)/13/libssp.dll.a $(build_libdir)/
ifeq ($(ARCH),x86_64)
-cp -a /mingw64/lib/libmsvcrt.a $(build_private_libdir)/
-cp -a /mingw64/lib/libmingwex.a $(build_private_libdir)/
else
-cp -a /mingw32/lib/libmsvcrt.a $(build_private_libdir)/
-cp -a /mingw32/lib/libmingwex.a $(build_private_libdir)/
endif # ifeq ($(ARCH),x86_64)
endif # ifeq ($(OS),WINNT)
endif
Expand Down

0 comments on commit fde32eb

Please sign in to comment.