summaryrefslogtreecommitdiff
path: root/platform/haiku/detect.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-30 18:23:38 +0200
committerGitHub <noreply@github.com>2019-04-30 18:23:38 +0200
commita7f00f3bacbb41f35b7120db6a911eda7c6feac9 (patch)
tree2d786b3d7fddbbb869ffdc33fa29279e179ae07f /platform/haiku/detect.py
parenta5c619dc8dc8a488599c3b08314ddb69e0ed445e (diff)
parentd52b70fb5e8e842ddcc9a57bad8e34366c0ee6d8 (diff)
Merge pull request #28530 from akien-mga/scons-prepend-cpppath
SCons: Always use env.Prepend for CPPPATH
Diffstat (limited to 'platform/haiku/detect.py')
-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 874b1ab1fb..f33c77a407 100644
--- a/platform/haiku/detect.py
+++ b/platform/haiku/detect.py
@@ -137,7 +137,7 @@ def configure(env):
if not env['builtin_miniupnpc']:
# No pkgconfig file so far, hardcode default paths.
- env.Append(CPPPATH=["/system/develop/headers/x86/miniupnpc"])
+ env.Prepend(CPPPATH=["/system/develop/headers/x86/miniupnpc"])
env.Append(LIBS=["miniupnpc"])
# On Linux wchar_t should be 32-bits
@@ -147,7 +147,7 @@ def configure(env):
## Flags
- env.Append(CPPPATH=['#platform/haiku'])
+ env.Prepend(CPPPATH=['#platform/haiku'])
env.Append(CPPFLAGS=['-DUNIX_ENABLED', '-DOPENGL_ENABLED', '-DGLES_ENABLED'])
env.Append(CPPFLAGS=['-DMEDIA_KIT_ENABLED'])
# env.Append(CPPFLAGS=['-DFREETYPE_ENABLED'])