Friends car...
Failed inspection and not on the road
He is saving up for a new engine and doesn't want to spend money fixing this one but wants to fix it up just to pass

So, wondering is there a sealant we can use that we put around the crank case to stop oil leaks?
Or, can we just weld it shut?

Keeping in mind this engine is for the rubbish bin once he gets the new one