diff options
-rw-r--r-- | deallocator.h | 3 | ||||
-rwxr-xr-x | sciconv_read.h | 1 | ||||
-rwxr-xr-x | sciconv_write.h | 2 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | util.h | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/deallocator.h b/deallocator.h index 06d5c0b..eec7a17 100644 --- a/deallocator.h +++ b/deallocator.h @@ -2,6 +2,7 @@ #define _DEALLOCATOR_H #include <Python.h> +#include <api_common.h> #if NUMPY == 1 #include <numpy/arrayobject.h> @@ -21,4 +22,4 @@ extern PyTypeObject _MyDeallocType ; extern void attach_deallocator(PyObject *, void *) ; #endif -#endif
\ No newline at end of file +#endif diff --git a/sciconv_read.h b/sciconv_read.h index af47eab..4df0018 100755 --- a/sciconv_read.h +++ b/sciconv_read.h @@ -24,6 +24,7 @@ #define SCICONV_READ #include <Python.h> +#include <api_common.h> #include "util.h" #if NUMPY == 1 diff --git a/sciconv_write.h b/sciconv_write.h index e9569d6..86e5c08 100755 --- a/sciconv_write.h +++ b/sciconv_write.h @@ -21,7 +21,7 @@ #define SCICONV_WRITE #include <Python.h> - +#include <api_common.h> #if NUMPY == 1 #include "util.h" #include "numpy/arrayobject.h" @@ -27,7 +27,7 @@ elif os.name == 'posix': ] sci_lib_dir = [os.path.join("/","usr", "lib", "scilab")] sci_librairies = ['scilab'] - sci_extra_link_args = ['-Wl,--no-as-needed'] + sci_extra_link_args = ['-Wl,--no-as-needed -lpython2.7 -L/usr/lib/scilab -lsciapi_scilab -lscicall_scilab -lscioutput_stream -lscicore -lscilinear_algebra -lsciconsole -lscilocalization -lscipolynomials -lsciio -lscielementary_functions -lscisparse -lscihistory_manager -lscihistory_browser -lscigraphics -lscicompletion -lscifunctions -lsciboolean -lsciwindows_tools -lscitime -lscifftw -lsciintersci -lscidouble -lscicommons'] else: raise NotImplementedError, "Only 'nt' and 'posix' are supported" @@ -6,7 +6,7 @@ #include "call_scilab.h" #include "api_scilab.h" - +#include <api_common.h> #define BUFSIZE 1024 #define TLIST_NAME "__tlist_name" |