File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -688,12 +688,12 @@ def run_compile():
688
688
689
689
# Construct wrappers / signatures / things
690
690
if backend_key == 'meson' :
691
- outmess ('Using meson backend\n Will pass --lower to f2py\n See https://numpy.org/doc/stable/f2py/buildtools/meson.html\n ' )
692
- f2py_flags .append ('--lower' )
693
- if pyf_files :
694
- run_main (f" { ' ' .join (f2py_flags )} { ' ' .join (pyf_files )} " .split ())
695
- else :
691
+ if not pyf_files :
692
+ outmess ('Using meson backend\n Will pass --lower to f2py\n See https://numpy.org/doc/stable/f2py/buildtools/meson.html\n ' )
693
+ f2py_flags .append ('--lower' )
696
694
run_main (f" { ' ' .join (f2py_flags )} -m { modulename } { ' ' .join (sources )} " .split ())
695
+ else :
696
+ run_main (f" { ' ' .join (f2py_flags )} { ' ' .join (pyf_files )} " .split ())
697
697
698
698
# Now use the builder
699
699
builder = build_backend (
You can’t perform that action at this time.
0 commit comments