scons: Define PACKAGE_xxx

Should get the builds going again.
This commit is contained in:
José Fonseca
2013-03-13 01:25:30 +00:00
parent 6f86b934e6
commit f7ef83cdf4
+5
View File
@@ -21,6 +21,11 @@ env.Append(CPPPATH = [
enabled_apis = []
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':
env.Append(CPPDEFINES = [
'_GDI32_', # prevent gl* being declared __declspec(dllimport) in MS headers