Alexandre Ganea c75eac7c03
[LLD][COFF] Don't dllimport from static libraries (#134443)
This reverts commit 6a1bdd9 and re-instate behavior that matches what
MSVC link.exe does, that is, error out when trying to dllimport a symbol
from a static library.

A hint is now displayed in stdout, mentioning that we should rather dllimport the symbol
from a import library.

Fixes https://github.com/llvm/llvm-project/issues/131807
2025-04-07 11:34:24 -04:00
..
2022-09-09 10:38:18 +08:00
2022-09-09 10:38:18 +08:00
2023-07-19 14:08:14 -07:00
2023-02-15 17:34:35 +00:00
2022-07-11 22:47:26 +00:00