From 8bcb735daefa028d7c619284833c2f1ffb021eb1 Mon Sep 17 00:00:00 2001 From: Roman Lacko Date: Tue, 21 May 2013 22:06:11 +0200 Subject: Fixed platform name checking --- pyside_postinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyside_postinstall.py') 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 -- cgit v1.2.3