python: Python native library now links to libmraa.so
Implementation is similar to approach taken for Java. Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
44b2367fdc
commit
bc1c3469f5
@@ -99,13 +99,6 @@ mraa_init()
|
||||
syslog(LOG_NOTICE, "libmraa version %s initialised by user '%s' with EUID %d",
|
||||
mraa_get_version(), (proc_user != NULL) ? proc_user->pw_name : "<unknown>", proc_euid);
|
||||
|
||||
#ifdef SWIGPYTHON
|
||||
// Initialise python threads, this allows use to grab the GIL when we are
|
||||
// required to do so
|
||||
Py_InitializeEx(0);
|
||||
PyEval_InitThreads();
|
||||
#endif
|
||||
|
||||
mraa_platform_t platform_type;
|
||||
#if defined(X86PLAT)
|
||||
// Use runtime x86 platform detection
|
||||
|
||||
Reference in New Issue
Block a user