Ticket #461: nagfor-libtool
File nagfor-libtool, 467 bytes (added by , 13 years ago) |
---|
Line | |
---|---|
1 | #! /bin/sh |
2 | ######################################################################## |
3 | # Replace `-shared' by `-Wl,-shared' to make NAG Fortran 5.3 work with libtool |
4 | # We should fix it in libtool but "Lasciate ogni speranza, voi ch'entrate!" |
5 | ######################################################################## |
6 | |
7 | for i in "$@"; do |
8 | case "$i" in |
9 | -shared) options="$options -Wl,-shared";; |
10 | *) options="$options $i";; |
11 | esac |
12 | done |
13 | |
14 | `dirname $0`/nagfor $options |