Skip to content

Commit 6d6c0ca

Browse files
committed
use GFORTRAN_LIBDIR like upstream
1 parent 8c0ea32 commit 6d6c0ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/build_steps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ function do_build_lib {
183183
exit 1
184184
fi
185185
export FFLAGS="-L${libdir} -Wl,-rpath,${libdir}"
186+
export GFORTRAN_LIBDIR=$($FC -print-file-name=libgfortran.dylib | xargs dirname)
186187
local bitness=64
187188
local target="VORTEX"
188189
CFLAGS="$CFLAGS -ftrapping-math -mmacos-version-min=11.0"

0 commit comments

Comments
 (0)