env = env.Clone()
env.Append(CPPDEFINES = [
- 'DEFAULT_DRIVER_DIR=\\"\\"',
+ 'DEFAULT_DRIVER_DIR=\\"\\"',
])
env.Append(CPPPATH = [
- '#/include',
- '#/src/egl/main',
- '#/src/loader',
+ '#/include',
+ '#/src/egl/main',
+ '#/src/loader',
])
sources = [
- 'egl_haiku.cpp'
+ 'egl_haiku.cpp'
]
if env['platform'] == 'haiku':
- env.Append(CPPDEFINES = [
- 'HAVE_HAIKU_PLATFORM',
- '_EGL_NATIVE_PLATFORM=haiku',
- ])
+ env.Append(CPPDEFINES = [
+ 'HAVE_HAIKU_PLATFORM',
+ '_EGL_NATIVE_PLATFORM=haiku',
+ ])
env.Prepend(LIBS = [
- libloader,
+ libloader,
])
egl_haiku = env.ConvenienceLibrary(
-#egl_dri2 = env.SharedLibrary(
- target = 'egl_haiku',
- source = sources,
+ target = 'egl_haiku',
+ source = sources,
)
Export('egl_haiku')