Commit f205ce85 authored by's avatar
Browse files

Windows DLLs: stifle more warnings about auto imported symbols

parent 020bb30e
......@@ -1608,6 +1608,11 @@ linkDynLib dflags o_files dep_packages = do
++ map (SysTools.FileOption "") o_files
++ map SysTools.Option (
-- Permit the linker to auto link _symbol to _imp_symbol
-- This lets us link against DLLs without needing an "import library"
++ ["-Wl,--enable-auto-import"]
++ extra_ld_inputs
++ lib_path_opts
++ extra_ld_opts
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment