mirror of https://git.ffmpeg.org/ffmpeg.git
build: remove hardcoded name of version header
Fixes an oversight in 1316df7aa9
.
CC: libav-stable@libav.org
This commit is contained in:
parent
8c201dde0a
commit
15fcf6292e
|
@ -18,7 +18,7 @@ if [ -z "$2" ]; then
|
|||
fi
|
||||
|
||||
NEW_REVISION="#define LIBAV_VERSION \"$version\""
|
||||
OLD_REVISION=$(cat version.h 2> /dev/null)
|
||||
OLD_REVISION=$(cat "$2" 2> /dev/null)
|
||||
|
||||
# Update version.h only on revision changes to avoid spurious rebuilds
|
||||
if test "$NEW_REVISION" != "$OLD_REVISION"; then
|
||||
|
|
Loading…
Reference in New Issue