Joseph Gilbert's fixes for the linux2 build target.

Kent
This commit is contained in:
Kent Mein 2005-02-15 13:06:08 +00:00
parent 09fdbdc744
commit 427ff274a2
2 changed files with 2 additions and 1 deletions

@ -90,7 +90,7 @@ if sys.platform == 'linux2' or sys.platform == 'linux-i386':
opengl_lib = ['GL', 'GLU']
opengl_static = ['/usr/lib/libGL.a', '/usr/lib/libGLU.a']
opengl_libpath = ['/usr/lib', '/usr/X11R6/lib']
opengl_include = ['/usr/include']
opengl_include = ['/usr/include', '/usr/X11R6/include']
# SDL library information
sdl_env.ParseConfig ('sdl-config --cflags --libs')
sdl_cflags = sdl_env.Dictionary()['CCFLAGS']

@ -14,5 +14,6 @@ ras_openglrasterizer_env.Append (CPPPATH=['.',
'#intern/moto/include',
'#source/gameengine/Rasterizer'
])
ras_openglrasterizer_env.Append (CPPPATH = user_options_dict['OPENGL_INCLUDE'])
ras_openglrasterizer_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_OpenGLRasterizer', source=source_files)