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