Skip to content
Snippets Groups Projects
Commit 0430ff02 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Fix Ubuntu-12.04 issue with boost::system missing symbol

parent bb08cf7d
Branches
Tags
No related merge requests found
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
#include <Python.h> #include <Python.h>
#include <xbob.learn.activation/config.h>
#include <xbob.io/api.h>
#include <bob/config.h> #include <bob/config.h>
#include <string> #include <string>
...@@ -24,6 +21,7 @@ ...@@ -24,6 +21,7 @@
#endif #endif
#include <xbob.blitz/capi.h> #include <xbob.blitz/capi.h>
#include <xbob.blitz/cleanup.h> #include <xbob.blitz/cleanup.h>
#include <xbob.learn.activation/config.h>
static int dict_set(PyObject* d, const char* key, const char* value) { static int dict_set(PyObject* d, const char* key, const char* value) {
PyObject* v = Py_BuildValue("s", value); PyObject* v = Py_BuildValue("s", value);
...@@ -170,8 +168,6 @@ static PyObject* create_module (void) { ...@@ -170,8 +168,6 @@ static PyObject* create_module (void) {
if (!externals) return 0; if (!externals) return 0;
if (PyModule_AddObject(m, "externals", externals) < 0) return 0; if (PyModule_AddObject(m, "externals", externals) < 0) return 0;
if (import_xbob_blitz() < 0) return 0;
Py_INCREF(m); Py_INCREF(m);
return m; return m;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment