Commit cff70dcf authored by José Fonseca's avatar José Fonseca

scons: Define PACKAGE_VERSION/BUGREPORT globally.

Fixes the scons build.
parent a6bb7a94
...@@ -69,6 +69,11 @@ if env['gles']: ...@@ -69,6 +69,11 @@ if env['gles']:
####################################################################### #######################################################################
# Environment setup # Environment setup
env.Append(CPPDEFINES = [
('PACKAGE_VERSION', '\\"9.2-devel\\"'),
('PACKAGE_BUGREPORT', '\\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\\"'),
])
# Includes # Includes
env.Prepend(CPPPATH = [ env.Prepend(CPPPATH = [
'#/include', '#/include',
......
...@@ -12,7 +12,6 @@ env.Append(CPPPATH = [ ...@@ -12,7 +12,6 @@ env.Append(CPPPATH = [
Dir('.'), Dir('.'),
]) ])
env.Append(CPPDEFINES = [ env.Append(CPPDEFINES = [
'PACKAGE_VERSION=',
'KHRONOS_DLL_EXPORTS', 'KHRONOS_DLL_EXPORTS',
]) ])
......
...@@ -21,11 +21,6 @@ env.Append(CPPPATH = [ ...@@ -21,11 +21,6 @@ env.Append(CPPPATH = [
enabled_apis = [] enabled_apis = []
enabled_apis += ['GL'] enabled_apis += ['GL']
env.Append(CPPDEFINES = [
('PACKAGE_VERSION', '\\"9.2-devel\\"'),
('PACKAGE_BUGREPORT', '\\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\\"'),
])
if env['platform'] == 'windows': if env['platform'] == 'windows':
env.Append(CPPDEFINES = [ env.Append(CPPDEFINES = [
'_GDI32_', # prevent gl* being declared __declspec(dllimport) in MS headers '_GDI32_', # prevent gl* being declared __declspec(dllimport) in MS headers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment