adapt paths for include and lib dirs
This commit is contained in:
parent
bfb69cc441
commit
bf1801500e
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "PyScModule.h"
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include <python3.6/Python.h>
|
||||
#include <Python.h>
|
||||
|
||||
class TPyScriptThreadLocker {
|
||||
PyGILState_STATE m_state;
|
||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ pysyscsc = Extension('pysyscsc',
|
|||
extra_compile_args = ['-std=c++11'],
|
||||
include_dirs = [sysc_home+'/include'],
|
||||
libraries = ['systemc'],
|
||||
library_dirs = [sysc_home+'/lib'],
|
||||
library_dirs = [sysc_home+'/lib64', sysc_home+'/lib'],
|
||||
sources = ['PyScModule.cpp'],
|
||||
depends = ['PyScModule.h'])
|
||||
|
||||
|
|
Loading…
Reference in New Issue