From 659c62ee338975eddf1f7e65f68190af65199324 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 28 Feb 2018 19:00:49 +0100 Subject: Use Prepend instead of Append for mbedTLS include Fixes build on FreeBSD when system-wide mbedTLS and/or openSSL are installed --- modules/websocket/SCsub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/websocket/SCsub') diff --git a/modules/websocket/SCsub b/modules/websocket/SCsub index 1a36e05863..8bb83436d9 100644 --- a/modules/websocket/SCsub +++ b/modules/websocket/SCsub @@ -69,11 +69,11 @@ else: env_lws.Append(CPPPATH=[thirdparty_dir]) wrapper_includes = ["#thirdparty/lws/mbedtls_wrapper/include/" + inc for inc in ["internal", "openssl", "platform", ""]] - env_lws.Append(CPPPATH=wrapper_includes) + env_lws.Prepend(CPPPATH=wrapper_includes) if env['builtin_mbedtls']: mbedtls_includes = "#thirdparty/mbedtls/include" - env_lws.Append(CPPPATH=[mbedtls_includes]) + env_lws.Prepend(CPPPATH=[mbedtls_includes]) if env_lws["platform"] == "windows" or env_lws["platform"] == "uwp": env_lws.Append(CPPPATH=[thirdparty_dir + helper_dir]) -- cgit v1.2.3