diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 22:13:36 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 22:13:36 -0400 |
commit | dcac3064670e6b4f4b8759d9adf54e8569ec4786 (patch) | |
tree | 2cca46d86ad2db313aaa79becc3c6061f7156210 /src/main.cc | |
parent | 1540ccec01661867b5d758c1e57f26a73b039ac6 (diff) | |
download | fork-ledger-dcac3064670e6b4f4b8759d9adf54e8569ec4786.tar.gz fork-ledger-dcac3064670e6b4f4b8759d9adf54e8569ec4786.tar.bz2 fork-ledger-dcac3064670e6b4f4b8759d9adf54e8569ec4786.zip |
Corrected a build error if Python support missing
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 6be50910..02bb335b 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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: |