Ignore:
Timestamp:
Mar 25, 2008 6:15:07 PM (13 years ago)
Author:
andreasw
Message:

making stable same to trunk r963

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/0.5/compile_f2c/compile_f2c

    r352 r964  
    4747
    4848options=
     49makedll=
     50linkflags=
    4951incs=
    5052fsrc=
     
    7476        f2clib=
    7577        mainobj=
     78        ;;
     79      -shared)
     80        makedll=yes
     81        linkflags="$linkflags -dll"
     82        ;;
     83      -def:*)
     84        linkflags="$linkflags $arg"
    7685        ;;
    7786      -*)
     
    114123fi
    115124
    116 echo $F2C_CC $options $cincs $csrc $objs $cout $mainobj $f2clib
     125if test x$makedll = xyes; then
     126  echo $F2C_CC $options $cincs $csrc $objs $cout $f2clib -link $linkflags
    117127
    118 $F2C_CC $options $cincs $csrc $objs $cout $mainobj $f2clib
     128  $F2C_CC $options $cincs $csrc $objs $cout $f2clib -link $linkflags
     129else
     130  echo $F2C_CC $options $cincs $csrc $objs $cout $mainobj $f2clib
     131
     132  $F2C_CC $options $cincs $csrc $objs $cout $mainobj $f2clib
     133fi
    119134cl_status=$?
    120135
Note: See TracChangeset for help on using the changeset viewer.