diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-02-28 19:00:49 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-02-28 20:02:16 +0100 |
commit | 659c62ee338975eddf1f7e65f68190af65199324 (patch) | |
tree | 70a1ec6616f76adbdbed37a84ca7d8bdde602654 /modules/mbedtls/SCsub | |
parent | ea7af81460ac3322519bf840612e009da0047db6 (diff) |
Use Prepend instead of Append for mbedTLS include
Fixes build on FreeBSD when system-wide mbedTLS and/or openSSL are installed
Diffstat (limited to 'modules/mbedtls/SCsub')
-rwxr-xr-x | modules/mbedtls/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mbedtls/SCsub b/modules/mbedtls/SCsub index b846ae38ad..38198c9105 100755 --- a/modules/mbedtls/SCsub +++ b/modules/mbedtls/SCsub @@ -85,7 +85,7 @@ if env['builtin_mbedtls']: thirdparty_dir = "#thirdparty/mbedtls/library/" thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] env_mbed_tls.add_source_files(env.modules_sources, thirdparty_sources) - env_mbed_tls.Append(CPPPATH=["#thirdparty/mbedtls/include/"]) + env_mbed_tls.Prepend(CPPPATH=["#thirdparty/mbedtls/include/"]) # Module sources env_mbed_tls.add_source_files(env.modules_sources, "*.cpp") |