# link: Fix archive format selection for some OSs\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 16b87f708212850a9ebcda3d91d7ce675ec78fa1

Requested commit: 16b87f708212850a9ebcda3d91d7ce675ec78fa1

Commit: 16b87f708212850a9ebcda3d91d7ce675ec78fa1

Tree: 4d3ee7025e4b2805c9df95a77b38e0d95da47431

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
link: Fix archive format selection for some OSs.

* AIX has its own bespoke format.
* Handle all Apple platforms.
* FreeBSD and OpenBSD both use the GNU format in LLVM.
* Windows has since been switched to the COFF format by default in LLVM.

```

## Parents

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

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