package/exim: fix static linking
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 28 May 2014 07:47:54 +0000 (09:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 28 May 2014 07:59:32 +0000 (09:59 +0200)
commitbf22cea53fa2af48bde3010673d3babee1ae6873
tree9506acc5563752d4e87ca6b97b24efca0014024c
parente507615555d190dc86787506d3e3854027d6f628
package/exim: fix static linking

Fixes http://autobuild.buildroot.net/results/0a3/0a392087878f80a70435981856455a30152b684d/

When building static, we need to tell exim that it needs to link
statically (obviously), and that it should link against pthreads.

Yet, exim is still not happy with that, as it still wants to build
something (a version-related program) at install time, so we need
to replicate the ld flags at install time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/exim/exim.mk