diff options
author | Roman Lacko <backup.rlacko@gmail.com> | 2013-05-21 22:06:11 +0200 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2013-05-21 22:06:11 +0200 |
commit | 8bcb735daefa028d7c619284833c2f1ffb021eb1 (patch) | |
tree | 2bea330102ee02025d7ea5551444bb9dde84a1dc /pyside_postinstall.py | |
parent | 2ba809fd8ed78eaa28d5d26ac61eac4e3f64ea60 (diff) |
Fixed platform name checking
Diffstat (limited to 'pyside_postinstall.py')
-rw-r--r-- | pyside_postinstall.py | 2 |
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
|