When openwrt toolchain uses eglibc (2.15) instead of uclibc,
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Aug 2012 11:08:16 +0000 (11:08 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 Aug 2012 11:08:16 +0000 (11:08 +0000)
commitb8bfc61776036d471cdea4033a5a968cca908af4
tree3058983a1cb8c06bbf55649a8844c410fe1d8ac5
parentc4ad01d56cf1cd22798b40d004be4228e038f696
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33010 3c298f89-4303-0410-b956-a3cf2f4a3e73
net/samba36/Makefile