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
This commit is contained in:
mirko 2012-08-06 11:08:16 +00:00
parent c4ad01d56c
commit b8bfc61776

View File

@ -28,6 +28,7 @@ define Package/samba36-server
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS server
URL:=http://www.samba.org/
DEPENDS:=+USE_EGLIBC:librt
endef
define Package/samba36-client
@ -35,7 +36,7 @@ define Package/samba36-client
CATEGORY:=Network
TITLE:=Samba 3.6 SMB/CIFS client
URL:=http://www.samba.org/
DEPENDS:=+libreadline +libncurses
DEPENDS:=+libreadline +libncurses +USE_EGLIBC:librt
endef
define Package/samba36-server/config