Skip to content

Commit 073f7da

Browse files
committed
mimicking Scipy:11
1 parent 0b3ec18 commit 073f7da

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

meson.build

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,16 @@ if pyprojectwheelbuild_enabled
140140
# install: true,
141141
# subdir: python_project_name,
142142
# )
143+
f2py_fortranobject_c = files(incdir_f2py / 'fortranobject.c')
144+
143145
py.extension_module(
144146
extension_module_name,
145-
[srcs + srcs_ancillary_lib, python_fortran_interface],
147+
[srcs + srcs_ancillary_lib, python_fortran_interface, f2py_fortranobject_c],
146148
include_directories: [inc_np, incdir_f2py],
147-
dependencies : [], # no ancillary_dep
149+
dependencies : [], # still no ancillary_dep needed
148150
install: true,
149151
subdir: python_project_name,
150-
)
151-
152+
)
152153

153154
# If some files (such as .py files) need to be copied to site-packages,
154155
# this is where that operation happens.

0 commit comments

Comments
 (0)