mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-28 01:31:00 +00:00
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
|
fi
|
||||||
|
|
||||||
NEW_REVISION="#define LIBAV_VERSION \"$version\""
|
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
|
# Update version.h only on revision changes to avoid spurious rebuilds
|
||||||
if test "$NEW_REVISION" != "$OLD_REVISION"; then
|
if test "$NEW_REVISION" != "$OLD_REVISION"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user