summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-05-11 08:12:14 +0200
committerwm4 <wm4@nowhere>2017-05-11 08:19:02 +0200
commitf38bd0f25ad948d3428a82655655207723e3fbcf (patch)
treea513b2cc879338134e80d96470f159732d257c1d /wscript
parentaac871deb40b4216ebb45e02a78d1b2c72f22211 (diff)
downloadmpv-f38bd0f25ad948d3428a82655655207723e3fbcf.tar.bz2
mpv-f38bd0f25ad948d3428a82655655207723e3fbcf.tar.xz
stream_smb: disable by default, mark as GPLv3
It seems libsmbclient has been GPLv3 for years. Also, it's certainly not LGPL (unlike some of its support libs like talloc). Thus, mpv built with Samba support is GPLv3. Disable it by default, so we don't have to go through the trouble to indicate the correct license in our output, and we don't trick people into distributing stuff under the wrong license.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index 0ab949544a..bc21545f32 100644
--- a/wscript
+++ b/wscript
@@ -288,9 +288,10 @@ iconv support use --disable-iconv.",
'struct statfs fs; fstatfs(0, &fs); fs.f_namelen')
}, {
'name': '--libsmbclient',
- 'desc': 'Samba support',
+ 'desc': 'Samba support (makes mpv GPLv3)',
'deps': [ 'libdl' ],
'func': check_pkg_config('smbclient'),
+ 'default': 'disable',
'module': 'input',
}, {
'name' : '--lua',