aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-10-05 15:34:35 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-10-05 15:34:35 +0000
commitf6be6c9c44cdc3f531c9f419e3bd3460c4964dc6 (patch)
treed74f97d4803823dd51d97b7ac3ef95f0325f649e
parent42b70d8dd57779d74a134b4a5df347521d3ddef9 (diff)
downloadpaludis-f6be6c9c44cdc3f531c9f419e3bd3460c4964dc6.tar.gz
paludis-f6be6c9c44cdc3f531c9f419e3bd3460c4964dc6.tar.xz
Work even with QA disabled.
-rw-r--r--python/paludis_python_so.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/paludis_python_so.cc b/python/paludis_python_so.cc
index 0090441..521824d 100644
--- a/python/paludis_python_so.cc
+++ b/python/paludis_python_so.cc
@@ -17,6 +17,8 @@
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "config.h"
+
#include <boost/python.hpp>
#include <boost/version.hpp>
#include <python/paludis_python.hh>
@@ -46,6 +48,8 @@ BOOST_PYTHON_MODULE(paludis)
expose_action();
expose_package_database();
expose_repository();
+#ifdef ENABLE_QA
expose_qa();
+#endif
}