It's not that simple. You have to link to the library itself.