Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
wrappers: set argv[0] to full path of executable (fixes e.g. gcc)
See commit b517cb3 for more details
  • Loading branch information
stapelberg committed Jun 24, 2019
1 parent ead4555 commit 9fd3493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/distri/build.go
Expand Up @@ -288,6 +288,7 @@ int main(int argc, char *argv[]) {
}
{{ end }}
argv[0] = filename;
execv(filename, argv);
return 1;
}
Expand Down

0 comments on commit 9fd3493

Please sign in to comment.