diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-04 16:27:38 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-11-04 16:27:38 +0000 |
commit | ca1d33d0c6e9349b418266bfd11e81ffdeae3505 (patch) | |
tree | 23394bbbc4ed445e6e7f6c2d7dcb91747474fad2 /lib/make/known-architectures/linux | |
parent | 767ebe2105718be004124ae578f5a81e5e838ff1 (diff) |
Check for the basename of $LD when testing for specific linkers.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3898 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r-- | lib/make/known-architectures/linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index cc04e26c..bedcff30 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -257,7 +257,7 @@ else fi # add the libpath if the linker is not Intel - if test "$LD" != 'icc' -a "$LD" != 'icpc' ; then + if test `basename $LD` != 'icc' -a `basename $LD` != 'icpc' ; then : ${LIBDIRS="$intel_dir/lib"} : ${LDFLAGS="-Qy $intel_dir/lib/icrt.link"} fi |