forked from lix-project/lix
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:
parent
b154070ab0
commit
cd86eeb693
2 changed files with 1 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
char * * savedArgv;
|
||||||
|
|
||||||
static bool gcWarning = true;
|
static bool gcWarning = true;
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ static bool haveInternet()
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string programPath;
|
std::string programPath;
|
||||||
char * * savedArgv;
|
|
||||||
|
|
||||||
struct HelpRequested { };
|
struct HelpRequested { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue