mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
configure: show PKG_CONFIG_PATH and CFLAGS in config.log
When the build wrapper repo scripts run configure they set a custom PKG_CONFIG_PATH environment variable. Show the value of this in config.log to make it easier to rerun configure with a tweaked version of the same parameters. Also show CFLAGS if set, as it's likely to break things.
This commit is contained in:
parent
afecdb681b
commit
0c2a302948
9
configure
vendored
9
configure
vendored
@ -1374,7 +1374,14 @@ TMPH="$mplayer_tmpdir/tmp.h"
|
||||
TMPS="$mplayer_tmpdir/tmp.S"
|
||||
|
||||
rm -f "$TMPLOG"
|
||||
echo configuration: $configuration > "$TMPLOG"
|
||||
echo Parameters configure was run with: > "$TMPLOG"
|
||||
if test -n "$CFLAGS" ; then
|
||||
echo ${_echo_n} CFLAGS="'$CFLAGS' ${_echo_c}" >> "$TMPLOG"
|
||||
fi
|
||||
if test -n "$PKG_CONFIG_PATH" ; then
|
||||
echo ${_echo_n} PKG_CONFIG_PATH="'$PKG_CONFIG_PATH' ${_echo_c}" >> "$TMPLOG"
|
||||
fi
|
||||
echo ./configure $configuration >> "$TMPLOG"
|
||||
echo >> "$TMPLOG"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user