PVReaders: Remove old libvtkPV* libraries during build or clean

This is to make sure the old paths do not get linked in preference,
which could cause errors on updating
This commit is contained in:
Will Bainbridge
2020-10-13 08:27:47 +01:00
parent 52a10b0505
commit 48c06ad843
2 changed files with 8 additions and 0 deletions

View File

@ -6,4 +6,8 @@ wclean libso vtkPVFoam
rm -rf Make PVblockMeshReader/Make PVFoamReader/Make
# Remove the old $FOAM_LIBBIN/libvtkPV*.so libraries, so that they do not get
# linked in preference to the new $PV_PLUGIN_PATH/libvtkPV*.so libraries
rm -f $FOAM_LIBBIN/libvtkPV*
#------------------------------------------------------------------------------

View File

@ -51,4 +51,8 @@ then
fi
fi
# Remove the old $FOAM_LIBBIN/libvtkPV*.so libraries, so that they do not get
# linked in preference to the new $PV_PLUGIN_PATH/libvtkPV*.so libraries
rm -f $FOAM_LIBBIN/libvtkPV*
#------------------------------------------------------------------------------