<div dir="ltr"><div class="gmail_extra">Still not quite ready to call this solved even though I got the &quot;why&quot;...</div><div class="gmail_extra"><br></div><div class="gmail_extra">f2py will let LDFLAGS override the default built-in linker flags from &quot;linker_exe&quot; and &quot;linker_so&quot;. I would think at a minimum you would want it as an append, not an override if not outright ignore the environment variables for this specific case.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">$ f2py3 -c --help-fcompiler</div><div class="gmail_extra">Gnu95FCompiler instance properties:</div><div class="gmail_extra">[SNIP]</div>
<div class="gmail_extra">  linker_exe      = [&#39;/usr/bin/gfortran&#39;, &#39;-Wall&#39;, &#39;-Wall&#39;]</div><div class="gmail_extra">  linker_so       = [&#39;/usr/bin/gfortran&#39;, &#39;-Wall&#39;, &#39;-Wall&#39;, &#39;-shared&#39;]</div>
<div><br></div></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">Richard</div></div>