# introduce a CLI flag to enable \.so scripts; default off · gitcafe/zig

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

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

Visibility: public

Requested revision: 4706ec81d4f864bc08804d9600937848ff9e4290

Requested commit: 4706ec81d4f864bc08804d9600937848ff9e4290

Commit: 4706ec81d4f864bc08804d9600937848ff9e4290

Tree: 2771856f2b8da6be686fd81e2d8c76c7b7d51a84

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
introduce a CLI flag to enable .so scripts; default off

The compiler defaults this value to off so that users whose system
shared libraries are all ELF files don't have to pay the cost of
checking every file to find out if it is a text file instead.

When a GNU ld script is encountered, the error message instructs users
about the CLI flag that will immediately solve their problem.

```

## Parents

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

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