From: Mirko Vogt Date: Mon, 6 Aug 2012 11:08:16 +0000 (+0000) Subject: When openwrt toolchain uses eglibc (2.15) instead of uclibc, X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c17c065d6bad405f4ae24bdb73e39f3dfb5efb25;p=openwrt%2Fsvn-archive%2Farchive.git 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 --- 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