diff options
-rwxr-xr-x | buildtools/configure.pl | 5 | ||||
-rw-r--r-- | doc/HISTORY | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl index 97e3c33f..3a0592ad 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -241,8 +241,11 @@ sub testCompileLink($$$) { print $cFile @{$cSourceCodeR}; my ($oFile, $oFileName) = tempFile(''); + + # Note that $flags may contain -l options, which where static linking + # is involved have to go _after_ the base object file ($oFileName). - my $compileCommand = "$testCc -o $oFileName $flags $cFileName"; + my $compileCommand = "$testCc -o $oFileName $cFileName $flags"; print ("Doing test compile/link: $compileCommand\n"); my $rc = system($compileCommand); diff --git a/doc/HISTORY b/doc/HISTORY index b6e43cde..5cd92acc 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -36,6 +36,8 @@ not yet BJH Release 10.40.00 Rename pamtooctave to pamtooctaveimg. + Build: put -l's after .o's in test links. + Build: don't use 'uint' type. Solaris 10 apparently doesn't have it. |