summaryrefslogtreecommitdiffstats
path: root/fortran/configure
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/configure')
-rwxr-xr-xfortran/configure12
1 files changed, 8 insertions, 4 deletions
diff --git a/fortran/configure b/fortran/configure
index 55991d4..13f5512 100755
--- a/fortran/configure
+++ b/fortran/configure
@@ -2646,13 +2646,17 @@ rm -f conftest core core.* *.core conftest.o conftest.c dummy.o $ac_clean_files
DYNAMIC_DIRS=""
if test -n "$LDFLAGS"; then
for d in $LDFLAGS ; do
- d=`echo $d | sed -e 's/-L//g'`
case "$d" in
- .*)
- d=${ROOT}/$d
+ -L*)
+ d=`echo $d | sed -e 's/-L//g'`
+ case "$d" in
+ .*)
+ d=${ROOT}/$d
+ ;;
+ esac
+ DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
;;
esac
- DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
done
fi