<p>clang -fuse-ld=lld -target x86_64-linux-gnu: of course <a href="https://mastodon.social/tags/pragma" class="mention hashtag" rel="tag">#<span>pragma</span></a> comment(lib, "-lX11") works<br />clang -fuse-ld=lld -target x86_64-windows-gnu: of course <a href="https://mastodon.social/tags/pragma" class="mention hashtag" rel="tag">#<span>pragma</span></a> comment(lib, "-lws2_32") is silently ignored</p><p>i feel like i'm in a fever dream</p>