From bf1801500e5011d2ae9a86a2426877737e57d06e Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 5 Feb 2021 10:34:24 +0000 Subject: [PATCH] adapt paths for include and lib dirs --- PyScModule.cpp | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PyScModule.cpp b/PyScModule.cpp index 08ed7e0..2ec2da7 100644 --- a/PyScModule.cpp +++ b/PyScModule.cpp @@ -6,7 +6,7 @@ #include "PyScModule.h" #define PY_SSIZE_T_CLEAN -#include +#include class TPyScriptThreadLocker { PyGILState_STATE m_state; diff --git a/setup.py b/setup.py index 025efca..5f272da 100644 --- a/setup.py +++ b/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'])