diff --git a/common/pybindings.cc b/common/pybindings.cc index 64055755..1a0eba8f 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -151,7 +151,9 @@ BOOST_PYTHON_MODULE(MODULE_NAME) arch_wrap_python(); } +#ifdef MAIN_EXECUTABLE static wchar_t *program; +#endif void init_python(const char *executable, bool first) { diff --git a/tests/dummy/main.cc b/tests/generic/main.cc similarity index 100% rename from tests/dummy/main.cc rename to tests/generic/main.cc