summaryrefslogtreecommitdiffstats
path: root/platform/haiku
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-06-07 19:59:33 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-06-08 00:16:27 +0200
commit768e9252714b57421b5c893a8258469a14630a30 (patch)
treeab2299c7533af5dc207b2c43d14a3c242cd0974b /platform/haiku
parent4c658dc52303ece088a245ede2835a68b78530b2 (diff)
downloadredot-engine-768e9252714b57421b5c893a8258469a14630a30.tar.gz
GLEW: Define static + enabled and includes via SCons
This allows us not to have to hack our definitions in the upstream files, making it easier to upgrade to newer versions in the future. For the include paths to work, the headers are moved to a GL subfolder to match their upstream location.
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py
index 2d132641f9..6d1a96a8da 100644
--- a/platform/haiku/detect.py
+++ b/platform/haiku/detect.py
@@ -23,7 +23,8 @@ def get_opts():
def get_flags():
return [
- ('builtin_zlib', 'no')
+ ('builtin_zlib', 'no'),
+ #('glew', 'yes'), # TODO: investigate the GLEW situation on Haiku
]
def configure(env):
@@ -52,7 +53,6 @@ def configure(env):
#env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
env.Append(CPPFLAGS = ['-DPTHREAD_NO_RENAME']) # TODO: enable when we have pthread_setname_np
- #env.Append(CPPFLAGS = ['-DGLEW_ENABLED']) # TODO: investigate the GLEW situation on Haiku
env.Append(CPPFLAGS = ['-DOPENGL_ENABLED', '-DMEDIA_KIT_ENABLED'])
env.Append(CPPFLAGS = ['-DUNIX_ENABLED', '-DGLES2_ENABLED', '-DGLES_OVER_GL'])
env.Append(LIBS = ['be', 'game', 'media', 'network', 'bnetapi', 'z', 'GL'])