Thomas Weber <[email protected]> writes:

> a) possible without crude hacks?

Depends on what you consider to be a crude hack. ;-)  AFAICT,
debian/rules already has a hook for overriding FLIBS, so hard-coding

fc_libs = "-lhdf5 -lz -lgfortranbegin -lgfortran -lm"

should have the desired effect, although it may need occasional tuning
for newer gfortran versions.  Alternatively, you could arrange to pass
the value through sed -e 's/-L[^ ]* //g' at some stage.

> b) sensible?

Yes, given that the relevant paths are already the default anyway;
Octave's build system is just being paranoid, resulting in fragility.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to