File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
lr=` otool -l $1 | awk ' /cmd LC_RPATH/,/path/ { if ($1 ~ /path/) print $2}' | sort | awk ' /\// { if($1==aa) {print aa}; aa=$1}' `
3
3
echo $lr
4
+ nlc=` echo $lr | wc -w`
5
+ if [ $nlc -gt 0 ]; then
4
6
for i in $lr ; do
5
7
install_name_tool $1 -delete_rpath $i
6
8
done
7
- otool -l $1 | awk ' /cmd LC_RPATH/,/path/ { if ($1 ~ /path/) print $2}' | sort
9
+ # resigne the code ...
10
+ codesign --remove-signature $1
11
+ codesign -s - $1
12
+
13
+ fi
14
+ echo " double rpath ??? "
15
+ otool -l $1 | awk ' /cmd LC_RPATH/,/path/ { if ($1 ~ /path/) print $2}' | sort | awk ' /\// { if($1==aa) {print aa}; aa=$1}'
Original file line number Diff line number Diff line change @@ -237,7 +237,8 @@ HDF5 support is being disabled (equivalent to --with-hdf5=no).
237
237
esac
238
238
done
239
239
240
- HDF5_LIBS="-lhdf5 $HDF5_LIBS"
240
+ # HDF5_LIBS="-lhdf5 $HDF5_LIBS"
241
+ # remove double -lhdf5
241
242
AC_MSG_RESULT ( [ yes (version $[ HDF5_VERSION] )] )
242
243
243
244
dnl See if we can compile
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ while [ $# -ne 0 ] ; do
150
150
* .cxx) files=" $files '$1 '" ; o=` basename " $1 " .cxx` ; fileso=" $fileso '$o .o'" ; args=$argsp ;;
151
151
* .c) files=" $files '$1 '" ; o=` basename " $1 " .c` ; fileso=" $fileso '$o .o'" ; args=$argsp ;;
152
152
* .f) ffiles=" $ffiles '$1 '" ; o=` basename " $1 " .f` ; fileso=" $fileso '$o .o'" ;;
153
+ * .f90) ffiles=" $ffiles '$1 '" ; o=` basename " $1 " .f90` ; fileso=" $fileso '$o .o'" ;;
153
154
* .F) ffiles=" $ffiles '$1 '" ; o=` basename " $1 " .F` ; fileso=" $fileso '$o .o'" ;;
154
155
* .o) fileso=" $fileso '$1 '" ; o=` basename " $1 " .o` ;;
155
156
-o) out=" $2 " ; shift ;;
You can’t perform that action at this time.
0 commit comments