summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-11 23:56:19 +0100
committerwm4 <wm4@nowhere>2014-03-11 23:56:19 +0100
commit40855d6c12e736dc2bd4291d7edd58fee0a1400d (patch)
tree44e5c0beea19606483f2ce476a834587727ccf43
parent8737ca95820e872a707e8363af2f74f0c7d795e3 (diff)
downloadmpv-40855d6c12e736dc2bd4291d7edd58fee0a1400d.tar.bz2
mpv-40855d6c12e736dc2bd4291d7edd58fee0a1400d.tar.xz
build: rename --enable-shared switch
Rename it to --enable-libmpv-shared. The option name didn't really tell much. When we add the possibility to create a static library, it would also be bad if that were named --enable-static (because it would sound like it does what --static-build does).
-rw-r--r--wscript4
-rw-r--r--wscript_build.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index fca0c4903b..85c0083989 100644
--- a/wscript
+++ b/wscript
@@ -10,14 +10,14 @@ from waftools.checks.custom import *
build_options = [
{
- 'name': '--shared',
+ 'name': '--libmpv-shared',
'desc': 'shared library',
'default': 'disable',
'func': check_true
}, {
'name': '--client-api-examples',
'desc': 'build client API examples',
- 'deps': ['shared'],
+ 'deps': ['libmpv-shared'],
'func': check_true
}, {
'name': '--static-build',
diff --git a/wscript_build.py b/wscript_build.py
index e60d8efecc..48e06d705b 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -438,7 +438,7 @@ def build(ctx):
**cprog_kwargs
)
- if ctx.dependency_satisfied('shared'):
+ if ctx.dependency_satisfied('libmpv-shared'):
ctx.load("syms")
ctx(
target = "mpv",