Move savedArgv into libmain

`savedArgv` is not accessible by plugins when defined in main binary.
Moving it into one of the nix lib fix the problem.
This commit is contained in:
Jean-François Roche 2022-10-28 12:19:37 +02:00
parent b154070ab0
commit cd86eeb693
No known key found for this signature in database
GPG key ID: D1D09DE169EA19A0
2 changed files with 1 additions and 1 deletions

View file

@ -33,6 +33,7 @@
namespace nix {
char * * savedArgv;
static bool gcWarning = true;

View file

@ -53,7 +53,6 @@ static bool haveInternet()
}
std::string programPath;
char * * savedArgv;
struct HelpRequested { };