Fetching details from the dictionary...

to lean against; to recline on; to lean on
to rely on; to depend on
疲れて壁に寄りかかったまま眠ってしまった。
I was so tired that I fell asleep leaning against the wall.
他人に寄りかかるだけでは自立できない。
You cannot become independent by just relying on others.
彼女は肩に寄りかかって静かに泣いていた。
She was quietly crying, leaning against my shoulder.