From c17c065d6bad405f4ae24bdb73e39f3dfb5efb25 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 6 Aug 2012 11:08:16 +0000 Subject: [PATCH] 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 SVN-Revision: 33010 --- net/samba36/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/samba36/Makefile b/net/samba36/Makefile index 2ebfcbe7f1..edeccc845f 100644 --- a/net/samba36/Makefile +++ b/net/samba36/Makefile @@ -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 -- 2.30.2