When openwrt toolchain uses eglibc (2.15) instead of uclibc,
authorMirko Vogt <mirko@openwrt.org>
Mon, 6 Aug 2012 11:08:16 +0000 (11:08 +0000)
committerMirko Vogt <mirko@openwrt.org>
Mon, 6 Aug 2012 11:08:16 +0000 (11:08 +0000)
commitc17c065d6bad405f4ae24bdb73e39f3dfb5efb25
tree3058983a1cb8c06bbf55649a8844c410fe1d8ac5
parenta5f3029174fe3059e040ba2a50d3cf9a0805925e
When openwrt toolchain uses eglibc (2.15) instead of uclibc,
samba36-server build causes following error:

Package samba36-{client,server} is missing dependencies for the following
libraries:
librt.so.1

Fix is to define
DEPENDS:=+USE_EGLIBC:librt
which adds the librt dependency only if the eglibc is used by toolchain.
Patch tested by building the samba36 both with the the eglibc and uclibc
openwrt toolchains.

Signed-off-by: Mika Laitio <mika.laitio@nokia.com>
SVN-Revision: 33010
net/samba36/Makefile