Mercurial > hg > octave-nkf
changeset 3087:dd4a9ab9c2bd
[project @ 1997-09-25 16:51:17 by jwe]
author | jwe |
---|---|
date | Thu, 25 Sep 1997 16:51:17 +0000 |
parents | 5cbbecce1fd9 |
children | f33738510eb2 |
files | ChangeLog mkoctfile.in |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 25 11:47:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * mkoctfile.in: Really add link options to link command. + Also handle -LDIR options. + Fri Sep 19 09:35:59 1997 Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> * octave-inf.el (inferior-octave-startup-args): Set to '("-i") to
--- a/mkoctfile.in +++ b/mkoctfile.in @@ -83,6 +83,7 @@ -h, -? --help Print this message. -lLIB Add library LIB to link command. + -LDIR Add -LDIR to link command. -o FILE, --output FILE Output file name. Default extension is .oct. -s, --strip Strip output file. -v, --verbose Echo commands as they are executed. @@ -100,7 +101,7 @@ EOF exit 0 ;; - -l*) + -[lL]*) ldflags="$ldflags $1";; "") break @@ -181,8 +182,8 @@ # Link all the object files. -$dbg $SH_LD $SH_LDFLAGS -o $octfile $objfiles -eval $SH_LD $SH_LDFLAGS -o $octfile $objfiles +$dbg $SH_LD $SH_LDFLAGS -o $octfile $objfiles $ldflags +eval $SH_LD $SH_LDFLAGS -o $octfile $objfiles $ldflags # Maybe strip it.