diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-30 18:23:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 18:23:38 +0200 |
commit | a7f00f3bacbb41f35b7120db6a911eda7c6feac9 (patch) | |
tree | 2d786b3d7fddbbb869ffdc33fa29279e179ae07f /modules/webm/SCsub | |
parent | a5c619dc8dc8a488599c3b08314ddb69e0ed445e (diff) | |
parent | d52b70fb5e8e842ddcc9a57bad8e34366c0ee6d8 (diff) |
Merge pull request #28530 from akien-mga/scons-prepend-cpppath
SCons: Always use env.Prepend for CPPPATH
Diffstat (limited to 'modules/webm/SCsub')
-rw-r--r-- | modules/webm/SCsub | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/webm/SCsub b/modules/webm/SCsub index dcc9a45044..e57437229f 100644 --- a/modules/webm/SCsub +++ b/modules/webm/SCsub @@ -15,7 +15,7 @@ thirdparty_sources = [ ] thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] -env_webm.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "libwebm/"]) +env_webm.Prepend(CPPPATH=[thirdparty_dir, thirdparty_dir + "libwebm/"]) # upstream uses c++11 if (not env_webm.msvc): @@ -23,14 +23,14 @@ if (not env_webm.msvc): # also requires libogg, libvorbis and libopus if env['builtin_libogg']: - env_webm.Append(CPPPATH=["#thirdparty/libogg"]) + env_webm.Prepend(CPPPATH=["#thirdparty/libogg"]) if env['builtin_libvorbis']: - env_webm.Append(CPPPATH=["#thirdparty/libvorbis"]) + env_webm.Prepend(CPPPATH=["#thirdparty/libvorbis"]) if env['builtin_opus']: - env_webm.Append(CPPPATH=["#thirdparty/opus"]) + env_webm.Prepend(CPPPATH=["#thirdparty/opus"]) if env['builtin_libvpx']: - env_webm.Append(CPPPATH=["#thirdparty/libvpx"]) + env_webm.Prepend(CPPPATH=["#thirdparty/libvpx"]) SConscript("libvpx/SCsub") env_thirdparty = env_webm.Clone() |