diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-02-28 21:18:25 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-05 15:02:05 +0100 |
commit | 3daf6e19e00a84d27929430e317d67bdfd2a7104 (patch) | |
tree | ca8cda7270f4fc3303127b543ab0f9ff6b772306 /package/vlc | |
parent | 0cc322eede944f05c65ca65f8c292c002a807ed9 (diff) | |
download | buildroot-3daf6e19e00a84d27929430e317d67bdfd2a7104.tar.gz buildroot-3daf6e19e00a84d27929430e317d67bdfd2a7104.zip |
package/vlc: add optional support for libssh2
When libssh2 was compiled before, vlc will use it as optional
dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/vlc/plugins/access/libsftp_plugin.so | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libvlccore.so.8]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libintl.so.8]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.1]
0x0000000000000001 (NEEDED) Shared library: [libm.so.1]
0x0000000000000001 (NEEDED) Shared library: [libssh2.so.1]
[...]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/vlc')
-rw-r--r-- | package/vlc/vlc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 4affb8748f..4f8bf7296e 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -251,6 +251,13 @@ else VLC_CONF_OPTS += --disable-svg --disable-svgdec endif +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +VLC_CONF_OPTS += --enable-sftp +VLC_DEPENDENCIES += libssh2 +else +VLC_CONF_OPTS += --disable-sftp +endif + ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y) VLC_CONF_OPTS += --enable-sid VLC_DEPENDENCIES += libsidplay2 |