From abe13bd4f05aaed815100c84235da90ab3dd5aa4 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 16 Oct 2008 17:48:49 +0000 Subject: [PATCH] Compile without python --- panda/src/event/config_event.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/event/config_event.cxx b/panda/src/event/config_event.cxx index 202fa44b80..1b241f462d 100644 --- a/panda/src/event/config_event.cxx +++ b/panda/src/event/config_event.cxx @@ -49,7 +49,9 @@ ConfigureFn(config_event) { EventStoreWstring::init_type("EventStoreWstring"); EventStoreTypedRefCount::init_type(); GenericAsyncTask::init_type(); +#ifdef HAVE_PYTHON PythonTask::init_type(); +#endif ButtonEventList::register_with_read_factory(); EventStoreInt::register_with_read_factory();