summaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/unix/libclang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/unix/libclang.sh')
-rwxr-xr-xcoin/provisioning/common/unix/libclang.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/coin/provisioning/common/unix/libclang.sh b/coin/provisioning/common/unix/libclang.sh
index 53b9dfda..900671e6 100755
--- a/coin/provisioning/common/unix/libclang.sh
+++ b/coin/provisioning/common/unix/libclang.sh
@@ -41,6 +41,7 @@
set -e
source "${BASH_SOURCE%/*}/check_and_set_proxy.sh"
+source "${BASH_SOURCE%/*}/SetEnvVar.sh"
BASEDIR=$(dirname "$0")
. $BASEDIR/../shared/sw_versions.txt
@@ -68,3 +69,9 @@ sudo mv /tmp/libclang $destination
echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
echo "libClang = $version" >> ~/versions.txt
+
+if [ "$version" == "6.0" ]; then
+ # This is a hacked static build of libclang which requires special
+ # handling on the qdoc side.
+ SetEnvVar "QDOC_USE_STATIC_LIBCLANG" "1"
+fi