aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-12-01 11:28:44 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-12-01 11:28:44 -0700
commitc7028ce0c612597b68ca900af036ec6aa5728f4f (patch)
treef93cd04c7526e53c16d37ac31595759e2bf78f84 /src
parent02e12ede46502e7c0f04ae94292e005a113a84c9 (diff)
downloadzig-c7028ce0c612597b68ca900af036ec6aa5728f4f.tar.gz
zig-c7028ce0c612597b68ca900af036ec6aa5728f4f.zip
COFF linking: fix incorrectly passing .dll instead of .lib
commit 9d1816111d1d30e18b8cb43a4aa31c194fb204c4 used the "output path" as the path for passing shared library artifact paths to the Zig CLI. For Windows, this was incorrect because it would pass the .dll instead of the .lib file. This commit passes the "output lib path" instead, which makes it pass the .lib path in case of a .dll on Windows. This way the linker does not complain and say, "bad file type. Did you specify a DLL instead of an import library?"
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions