summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 09:45:10 +0200
committerwm4 <wm4@nowhere>2014-04-19 09:45:10 +0200
commit0495f88863e7fbacb00f37613273baa17bf2518c (patch)
tree8b940fd0847feb59f1a9bae3f1687814fb4291ff
parent0bc60eb9e32b66430954a9c978c6eb4f1fa4f02d (diff)
downloadmpv-build-0495f88863e7fbacb00f37613273baa17bf2518c.tar.bz2
mpv-build-0495f88863e7fbacb00f37613273baa17bf2518c.tar.xz
scripts/mpv-config: don't add extra options twice
Also, print the configure args, like ffmpeg-config does.
-rwxr-xr-xscripts/mpv-config4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/mpv-config b/scripts/mpv-config
index 4538521..b23cf4d 100755
--- a/scripts/mpv-config
+++ b/scripts/mpv-config
@@ -9,5 +9,7 @@ if test -f "$BUILD"/mpv_options ; then
fi
OPTIONS="$USER_OPTS"
+echo Using mpv options: $OPTIONS
+
cd "$BUILD"/mpv
-PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./waf configure $OPTIONS "$@"
+PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./waf configure $OPTIONS