# std.os.linux: export getauxval only when building executable or root has main function · gitcafe/zig

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

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

Visibility: public

Requested revision: e5c974fa5cd3f9ed49463b597954a053da91de6d

Requested commit: e5c974fa5cd3f9ed49463b597954a053da91de6d

Commit: e5c974fa5cd3f9ed49463b597954a053da91de6d

Tree: 121479e42157df1cbd79352fe135c212f887485a

Author: Vesim

Committer: GitHub

## Message

```
std.os.linux: export getauxval only when building executable or root has main function


```

## Parents

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

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