Corrected a build error if Python support missing
This commit is contained in:
parent
1540ccec01
commit
dcac306467
1 changed files with 4 additions and 0 deletions
|
|
@ -50,15 +50,19 @@ namespace {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_BOOST_PYTHON
|
||||
namespace ledger {
|
||||
extern char * argv0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int main(int argc, char * argv[], char * envp[])
|
||||
{
|
||||
int status;
|
||||
|
||||
#ifdef HAVE_BOOST_PYTHON
|
||||
argv0 = argv[0];
|
||||
#endif
|
||||
|
||||
// The very first thing we do is handle some very special command-line
|
||||
// options, since they affect how the environment is setup:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue