summaryrefslogtreecommitdiffstats
path: root/README.rst
diff options
context:
space:
mode:
authorjmakovecki <32903796+jmakovecki@users.noreply.github.com>2023-01-29 17:37:17 +0100
committerDudemanguy <random342@airmail.cc>2023-01-31 00:14:23 +0000
commit94f5f589dbc28af8cf8b20e3fef6629df35eb92d (patch)
tree448e3bdb04fd0f3ec9138563ff273fcdcd12f661 /README.rst
parent7b34395fa4b4136adbac39189db7b04a90089b0e (diff)
downloadmpv-build-94f5f589dbc28af8cf8b20e3fef6629df35eb92d.tar.bz2
mpv-build-94f5f589dbc28af8cf8b20e3fef6629df35eb92d.tar.xz
README: update with meson-style switches
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index a5438df..21943b5 100644
--- a/README.rst
+++ b/README.rst
@@ -208,7 +208,7 @@ mpv configure options
Just like ``ffmpeg_options``, the file ``mpv_options`` in the
mpv-build top-level directory can be used to set custom mpv configure
options prior to compiling. Like with ffmpeg_option, it expects one
-switch per line (e.g. ``--enable-something``).
+switch per line (e.g. ``-Dsomething=enabled``).
But normally, you shouldn't need this.
@@ -217,7 +217,7 @@ Building libmpv
You can enable building libmpv by enabling the configure option::
- printf "%s\n" --enable-libmpv-shared > mpv_options
+ printf "%s\n" -Dlibmpv=true > mpv_options
Note that this will make the mpv-build scripts also enable PIC for all used
libraries. For this reason, be sure to run ``./clean`` before rebuilding.