What's better for search engines?

In terms of search engines, which is better, a local link or an external link to the original post?