package/mc: add optional support for libssh2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 10 Feb 2016 21:21:32 +0000 (22:21 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 16 Feb 2016 22:16:33 +0000 (23:16 +0100)
commitd9e618159189823ed48ed5717e4a3ca780241be5
tree838f4048f35a9727e52ffe7e053bc2f0f857d0fc
parentae8641239bd85212acd9f93f0d838c4c1d48ea71
package/mc: add optional support for libssh2

When libssh2 was compiled before, mc will use it as optional dependency:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/mc | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libssh2.so.1]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgcrypt.so.20]
 0x00000001 (NEEDED)                     Shared library: [libgpg-error.so.0]
 0x00000001 (NEEDED)                     Shared library: [libglib-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.1]
 0x00000001 (NEEDED)                     Shared library: [libintl.so.8]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]
 0x00000001 (NEEDED)                     Shared library: [libiconv.so.2]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mc/mc.mk