aboutsummaryrefslogtreecommitdiffstats
path: root/pyside_postinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyside_postinstall.py')
-rw-r--r--pyside_postinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyside_postinstall.py b/pyside_postinstall.py
index f4dfba1fe..0b1a7979a 100644
--- a/pyside_postinstall.py
+++ b/pyside_postinstall.py
@@ -192,7 +192,7 @@ def install_posix():
print("PySide package found in %s..." % pyside_path)
executables = ['shiboken']
- if sys.platform == 'linux2':
+ if sys.platform.startswith('linux'):
executables.append('patchelf')
patchelf_path = os.path.join(pyside_path, "patchelf")
from distutils.spawn import spawn