A sufficient condition for graphs to be weaklyk-linked