diff options
Diffstat (limited to 'mesalib/SConstruct')
-rw-r--r-- | mesalib/SConstruct | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesalib/SConstruct b/mesalib/SConstruct index b00a7fe1c..de735e94c 100644 --- a/mesalib/SConstruct +++ b/mesalib/SConstruct @@ -69,8 +69,10 @@ if env['gles']: ####################################################################### # Environment setup +with open("VERSION") as f: + mesa_version = f.read().strip() env.Append(CPPDEFINES = [ - ('PACKAGE_VERSION', '\\"9.3.0-devel\\"'), + ('PACKAGE_VERSION', '\\"%s\\"' % mesa_version), ('PACKAGE_BUGREPORT', '\\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\\"'), ]) |