# HG changeset patch # User jwe # Date 875206277 0 # Node ID dd4a9ab9c2bde3a345f5163770571253a42aa051 # Parent 5cbbecce1fd9a45c13fa8b4ff4011f4b09662361 [project @ 1997-09-25 16:51:17 by jwe] diff -r 5cbbecce1fd9 -r dd4a9ab9c2bd ChangeLog --- a/ChangeLog Mon Sep 22 21:46:28 1997 +0000 +++ b/ChangeLog Thu Sep 25 16:51:17 1997 +0000 @@ -1,3 +1,8 @@ +Thu Sep 25 11:47:45 1997 John W. Eaton + + * mkoctfile.in: Really add link options to link command. + Also handle -LDIR options. + Fri Sep 19 09:35:59 1997 Kurt Hornik * octave-inf.el (inferior-octave-startup-args): Set to '("-i") to diff -r 5cbbecce1fd9 -r dd4a9ab9c2bd mkoctfile.in --- a/mkoctfile.in Mon Sep 22 21:46:28 1997 +0000 +++ b/mkoctfile.in Thu Sep 25 16:51:17 1997 +0000 @@ -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.