aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/platforms/linux.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/platforms/linux.py')
-rw-r--r--build_scripts/platforms/linux.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build_scripts/platforms/linux.py b/build_scripts/platforms/linux.py
index 700265dad..2c3d48fcb 100644
--- a/build_scripts/platforms/linux.py
+++ b/build_scripts/platforms/linux.py
@@ -4,6 +4,7 @@
import os
from ..config import config
+from ..options import OPTION
from ..utils import (copy_icu_libs, copydir, copyfile, find_files_using_glob,
linux_patch_executable)
from ..versions import PYSIDE
@@ -59,7 +60,7 @@ def prepare_standalone_package_linux(self, _vars):
self.update_rpath_for_linux_qt_libraries(destination_lib_dir.format(**_vars))
# Patching designer to use the Qt libraries provided in the wheel
- if config.is_internal_pyside_build():
+ if config.is_internal_pyside_build() and not OPTION['NO_QT_TOOLS']:
assistant_path = "{st_build_dir}/{st_package_name}/assistant".format(**_vars)
linux_patch_executable(self._patchelf_path, assistant_path)
designer_path = "{st_build_dir}/{st_package_name}/designer".format(**_vars)