package/libssh2: fix zlib library search path issues
authorRomain Naour <romain.naour@openwide.fr>
Sat, 14 Feb 2015 17:38:28 +0000 (18:38 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Feb 2015 21:01:49 +0000 (22:01 +0100)
commit3f335ed5508abe3a19e5e2106eb5339531cb4a82
treee2783de553c2e388e7a5be1ff88c491cb9df2d8a
parentc485d8a3d11616709e23ae959341a3e6c16e9dcd
package/libssh2: fix zlib library search path issues

Like for lingcrypt and openssl, help the configure script to find
zlib installed in STAGING_DIR.

Otherwise, It might find the one installed on the host:
checking how to link with libz... /usr/lib/libz.so -Wl,-rpath -Wl,/usr/lib

Fixes:
http://autobuild.buildroot.net/results/93b/93b43e114f21a22f0f8b7d7dd6774c089c426cd1

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libssh2/libssh2.mk