From 0430ff022fe53ebe594fe5f039aba1a48698d54d Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 24 Mar 2014 12:29:14 +0100
Subject: [PATCH] Fix Ubuntu-12.04 issue with boost::system missing symbol

---
 xbob/learn/activation/version.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/xbob/learn/activation/version.cpp b/xbob/learn/activation/version.cpp
index ea3606a..2ed1131 100644
--- a/xbob/learn/activation/version.cpp
+++ b/xbob/learn/activation/version.cpp
@@ -7,9 +7,6 @@
 
 #include <Python.h>
 
-#include <xbob.learn.activation/config.h>
-#include <xbob.io/api.h>
-
 #include <bob/config.h>
 
 #include <string>
@@ -24,6 +21,7 @@
 #endif
 #include <xbob.blitz/capi.h>
 #include <xbob.blitz/cleanup.h>
+#include <xbob.learn.activation/config.h>
 
 static int dict_set(PyObject* d, const char* key, const char* value) {
   PyObject* v = Py_BuildValue("s", value);
@@ -170,8 +168,6 @@ static PyObject* create_module (void) {
   if (!externals) return 0;
   if (PyModule_AddObject(m, "externals", externals) < 0) return 0;
 
-  if (import_xbob_blitz() < 0) return 0;
-
   Py_INCREF(m);
   return m;
 
-- 
GitLab