package/exim: use libnsl only with glibc
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 12 Apr 2015 14:21:46 +0000 (16:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Jun 2015 21:07:15 +0000 (23:07 +0200)
commit00e98e69b4a0134823bcc4b626eafb16e77ae4b1
treebf69273af92f493f5ef2b3f7fc7febeb5825643b
parent4ee0ef4ab576e59fcb741fbbf1a419af76599177
package/exim: use libnsl only with glibc

Only (e)glibc provides libnsl, uclibc provides only a stub, and musl
doesn't implement it at all.

Fixes compilation using this defconfig

    BR2_arm=y
    BR2_cortex_a7=y
    BR2_STATIC_LIBS=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_PACKAGE_OPENSSL=y
    BR2_PACKAGE_EXIM=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/exim/exim.mk