projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loader: fix running with --disable-egl builds
[mesa.git]
/
SConstruct
diff --git
a/SConstruct
b/SConstruct
index 4a3fef0805942f904618ebcff889dcc41b408d0f..de735e94c34f18713d5aaa42535ea35153317663 100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-69,6
+69,13
@@
if env['gles']:
#######################################################################
# Environment setup
#######################################################################
# Environment setup
+with open("VERSION") as f:
+ mesa_version = f.read().strip()
+env.Append(CPPDEFINES = [
+ ('PACKAGE_VERSION', '\\"%s\\"' % mesa_version),
+ ('PACKAGE_BUGREPORT', '\\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\\"'),
+])
+
# Includes
env.Prepend(CPPPATH = [
'#/include',
# Includes
env.Prepend(CPPPATH = [
'#/include',