fixed wrongly linked dependency
bug #4138 fixed wrongly linked dependency (gondo)

This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #4138).

Discussion
----------

fixed wrongly linked dependency

Commits
-------

3a84396 fixed wrongly linked dependency