diff options
author | Roman Lacko <backup.rlacko@gmail.com> | 2013-06-05 12:25:38 +0200 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2013-06-05 12:25:38 +0200 |
commit | 27506d902375be214423ea3431c5cb4c2244f895 (patch) | |
tree | 93a24eec1b44208cffaeb49022f21d49ee7d9acf | |
parent | 6f660492a55560d523935e908275226ee2bd2b92 (diff) |
Fixed compiling modules with empty --jobs option when running on Linux
-rw-r--r-- | setup.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -578,7 +578,10 @@ class pyside_build(_build): raise DistutilsSetupError("Error configuring " + extension) log.info("Compiling module %s..." % extension) - if run_process([self.make_path, OPTION_JOBS], log) != 0: + cmd_make = [self.make_path] + if OPTION_JOBS: + cmd_make.append(OPTION_JOBS) + if run_process(cmd_make, log) != 0: raise DistutilsSetupError("Error compiling " + extension) if extension.lower() == "shiboken": |