mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Use SetEnvVar instead of appending .bash_profile with LLVM variables
It seems that the existence of .bash_profile on Debian systems prevents the .profile file from being read on login, which means some additions to PATH that are essential for e.g. the Web Engine build are not made. Change-Id: Ib271ef49e573fc0588ffbaa9bebbfda4469b60f9 Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
committed by
Jani Heikkinen
parent
7c1e6971aa
commit
c582745a66
@@ -48,5 +48,5 @@ sudo mv /usr/local/libclang "$destination"
|
||||
rm -rf $zip
|
||||
|
||||
|
||||
echo "export LLVM_DYNAMIC_LIBS_100=$destination" >> ~/.bash_profile
|
||||
SetEnvVar "LLVM_DYNAMIC_LIBS_100" "$destination"
|
||||
echo "libClang for QtForPython= $version" >> ~/versions.txt
|
||||
|
||||
@@ -62,5 +62,5 @@ sudo mv /usr/local/libclang "$destination"
|
||||
rm -rf $zip
|
||||
|
||||
|
||||
echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
|
||||
SetEnvVar "LLVM_INSTALL_DIR" "$destination"
|
||||
echo "libClang = $version" >> ~/versions.txt
|
||||
|
||||
Reference in New Issue
Block a user