# link: support static archives that are linker scripts · gitcafe/zig

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

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

Visibility: public

Requested revision: 25da0f83727e8d04a520474799ee4006e7818508

Requested commit: 25da0f83727e8d04a520474799ee4006e7818508

Commit: 25da0f83727e8d04a520474799ee4006e7818508

Tree: b7f24f1ea396ed0001e9fa0fad0e04c364fdde1d

Author: Jacob Young

Committer: Jacob Young

## Message

```
link: support static archives that are linker scripts

Note that `openLoadArchive` already has linker script support.

With this change I get a failure parsing a real archive in the self
hosted elf linker, rather than the previous behavior of getting an error
while trying to parse a pseudo archive that is actually a load script.

```

## Parents

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

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