diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2012-11-23 18:16:50 -0500 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:51 +0100 |
commit | 54ce8af6e0dbf41d9463ca38a5fdc33bd6ed913f (patch) | |
tree | 6e898ecaef776c47148172f7657b2d2c0da6d4bf /core/version.c | |
parent | 7146a57cfefbfeace9a5b8fd4f0cfff940c357e0 (diff) | |
download | mpv-54ce8af6e0dbf41d9463ca38a5fdc33bd6ed913f.tar.bz2 mpv-54ce8af6e0dbf41d9463ca38a5fdc33bd6ed913f.tar.xz |
build: identify the build time of the binary in the versioning output
Based on a patch by qyot27. Add export LC_ALL=C on top of version.sh to
make the output locale independent.
Note that the build time will not be updated on every "make" invocation,
but only when the git revision is updated. This is a good thing, as
repeated make invocations should not rebuild the binary. (This would
break "sudo make install" too.)
Diffstat (limited to 'core/version.c')
-rw-r--r-- | core/version.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/version.c b/core/version.c index f06f0afc30..7e747044a3 100644 --- a/core/version.c +++ b/core/version.c @@ -19,3 +19,4 @@ #include "version.h" const char *mplayer_version = "mpv " VERSION; +const char *mplayer_builddate = BUILDDATE;
\ No newline at end of file |