It appears to copy the whole ```$PREFIX/lib``` directory into its lib/ instead of libraries that it itself needs to install.