# std.zig.target: Remove some library names from isLibCLibName\(\) for MinGW\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7d699be772b974a10d2a54ae639822f051dbc68c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7d699be772b974a10d2a54ae639822f051dbc68c

Requested commit: 7d699be772b974a10d2a54ae639822f051dbc68c

Commit: 7d699be772b974a10d2a54ae639822f051dbc68c

Tree: 820ac56a3c22b0120f2df4a74ace57746672c81d

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.zig.target: Remove some library names from isLibCLibName() for MinGW.

These are system DLLs, most of which MinGW provides .def files for. It just so
happens that MinGW also has some static libraries by the same name which link in
some GUID definitions.

The remaining non-MinGW library names represent libraries that are always
statically linked, so if those are requested by the user, it makes sense to
error if libc is not linked. A future enhancement could be to compile those
independent of mingw32.lib, however.

Closes #22560.

```

## Parents

- [1cbfdb42449f25cf996f4492736dbf8722ab3f09](https://git.cafe/gitcafe/zig/commit/1cbfdb42449f25cf996f4492736dbf8722ab3f09?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7d699be772b974a10d2a54ae639822f051dbc68c?format=markdown)
