aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-02-14 18:32:58 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-02-21 14:52:36 +0200
commit16b9a522352560f44d418053af9e795c61efd691 (patch)
treec71b40a7afe6a7397fa1ab8d20188652f0ca8b86
parent738f7f860c08f1322d09c72a3db44308f4a16404 (diff)
downloadmeson-16b9a522352560f44d418053af9e795c61efd691.zip
meson-16b9a522352560f44d418053af9e795c61efd691.tar.gz
meson-16b9a522352560f44d418053af9e795c61efd691.tar.bz2
Fix cython to work on platforms other than latest Ubuntu.
-rw-r--r--test cases/python3/3 cython/libdir/meson.build8
-rw-r--r--test cases/python3/3 cython/libdir/storer.pyx2
2 files changed, 2 insertions, 8 deletions
diff --git a/test cases/python3/3 cython/libdir/meson.build b/test cases/python3/3 cython/libdir/meson.build
index e5cfc86..baa4c1d 100644
--- a/test cases/python3/3 cython/libdir/meson.build
+++ b/test cases/python3/3 cython/libdir/meson.build
@@ -1,9 +1,3 @@
-pxd_c = custom_target('cstorer_pxd',
- output : 'cstorer_pxd.c',
- input : 'cstorer.pxd',
- command : [cython, '@INPUT@', '-o', '@OUTPUT@'],
-)
-
pyx_c = custom_target('storer_pyx',
output : 'storer_pyx.c',
input : 'storer.pyx',
@@ -11,7 +5,7 @@ pyx_c = custom_target('storer_pyx',
)
slib = shared_library('storer',
- 'storer.c', pxd_c, pyx_c,
+ 'storer.c', pyx_c,
name_prefix : '',
dependencies : py3_dep)
diff --git a/test cases/python3/3 cython/libdir/storer.pyx b/test cases/python3/3 cython/libdir/storer.pyx
index 6ad6830..ed551dc 100644
--- a/test cases/python3/3 cython/libdir/storer.pyx
+++ b/test cases/python3/3 cython/libdir/storer.pyx
@@ -12,5 +12,5 @@ cdef class Storer:
cpdef int get_value(self):
return cstorer.storer_get_value(self._c_storer)
- cpdef void set_value(self, int value):
+ cpdef set_value(self, int value):
cstorer.storer_set_value(self._c_storer, value)