File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments