Skip to content

Commit

Permalink
MacOS release
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel committed Dec 15, 2023
1 parent 66a7426 commit b700ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/actions/release/macos/copy_fortran.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FORTRAN_CHECK="$HOME/fortran-check"
mkdir "$FORTRAN_CHECK"
printf "program sizeofint\n integer i\nend" >"$FORTRAN_CHECK/check.f90"
gfortran "$FORTRAN_CHECK/check.f90" -o "$FORTRAN_CHECK/check"
(ldd "$FORTRAN_CHECK/check") 2>&1 | awk '{print $NF}' | egrep -v '/usr/lib | "$FORTRAN_CHECK/check" | grep .dylib' >$PREFIX/gnu/list-dylib-gfortran
DYLD_PRINT_LIBRARIES=1 "$FORTRAN_CHECK/check" 2>&1 | awk '{print $NF}' | egrep -v '/usr/lib | "$FORTRAN_CHECK/check" | grep .dylib' >$PREFIX/gnu/list-dylib-gfortran
rm -rf "$FORTRAN_CHECK"

# Copy librairies
Expand Down

0 comments on commit b700ad0

Please sign in to comment.