# zig cc: handle \`\-l :FILE\` syntax · gitcafe/zig

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

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

Visibility: public

Requested revision: 22f464a8c3d93e1c38244444ee49efb8648ba09d

Requested commit: 22f464a8c3d93e1c38244444ee49efb8648ba09d

Commit: 22f464a8c3d93e1c38244444ee49efb8648ba09d

Tree: 1b130b50b5537eb016eee8701fe1fe58fba3e6b0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig cc: handle `-l :FILE` syntax

This "feature" of gcc/clang means to treat this as a positional
link object, but using the library search directories as a prefix.

We solve this problem in the CLI layer, using a separate map for
the data since it is an uncommon case.

Closes #10851

```

## Parents

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

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