Backport r836740 by winterz to the 4.1 branch:
Backport r836740 by winterz to the 4.1 branch:

fix linking


svn path=/branches/KDE/4.1/kdepim/; revision=840995

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi