Skip to content

Commit cdbf764

Browse files
authored
Merge pull request #213 from ludopulles/main
Fix build issues
2 parents 16b9d2b + 7c05d63 commit cdbf764

File tree

5 files changed

+3
-12
lines changed

5 files changed

+3
-12
lines changed

example/meson.build

-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ print(cysignals.__file__.replace('__init__.py', ''))
1515
).stdout().strip()
1616
cysignals = declare_dependency(include_directories: inc_cysignals)
1717

18-
# Make declarations in Cython code available to C include files
19-
add_project_arguments(
20-
'-X preliminary_late_includes_cy28=True',
21-
language: 'cython',
22-
)
23-
24-
2518
py.extension_module('cysignals_example',
2619
sources: ['cysignals_example.pyx'],
2720
install: true,

meson.build

-5
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ add_project_arguments('-DCYTHON_CLINE_IN_TRACEBACK=0', language: 'c')
2222
# Disable sanity checking in GNU libc
2323
# This is required because of false positives in the longjmp() check
2424
add_project_arguments('-U_FORTIFY_SOURCE', language: 'c')
25-
# Make declarations in Cython code available to C include files
26-
add_project_arguments(
27-
'-X preliminary_late_includes_cy28=True',
28-
language: 'cython',
29-
)
3025

3126
# Platform-specific settings
3227
if is_cygwin

src/cysignals/signals.pxd

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# cython: preliminary_late_includes_cy28=True
12
#*****************************************************************************
23
# cysignals is free software: you can redistribute it and/or modify it
34
# under the terms of the GNU Lesser General Public License as published

src/cysignals/signals.pyx

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# cython: preliminary_late_includes_cy28=True
12
r"""
23
Interrupt and signal handling
34

src/cysignals/tests.pyx

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# cython: preliminary_late_includes_cy28=True
12
"""
23
Test interrupt and signal handling
34

0 commit comments

Comments
 (0)