summaryrefslogtreecommitdiffstats
path: root/build/mixxx.py
diff options
context:
space:
mode:
authorDaniel Poelzleithner <git@poelzi.org>2019-06-04 19:54:39 +0200
committerDaniel Poelzleithner <git@poelzi.org>2019-06-05 15:22:18 +0200
commit0b1137a1ba914e6acb7217e800585b4230bd45f1 (patch)
tree893c137fe35c51c02a73b1000cf9fd47535dd5a8 /build/mixxx.py
parentcf9fba5bc8dc95c6536b5c9936a339c4d779dd1e (diff)
Add default.nix for building mixxx packages and entering development shell
Diffstat (limited to 'build/mixxx.py')
-rw-r--r--build/mixxx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/mixxx.py b/build/mixxx.py
index 3b0829a3e5..1c9e3ad735 100644
--- a/build/mixxx.py
+++ b/build/mixxx.py
@@ -209,7 +209,7 @@ class MixxxBuild(object):
# Now that environment variables have been read, we can detect the compiler.
import subprocess
- process = subprocess.Popen([self.env['CC'], '--version'], stdout=subprocess.PIPE)
+ process = subprocess.Popen("%s %s" %(self.env['CC'], '--version'), stdout=subprocess.PIPE, shell=True)
(stdout, stderr) = process.communicate()
self.compiler_is_gcc = 'gcc' in stdout.lower()
self.compiler_is_clang = 'clang' in stdout.lower()
@@ -217,7 +217,7 @@ class MixxxBuild(object):
# Determine the major compiler version (only GCC)
if self.compiler_is_gcc:
self.gcc_major_version = None
- process = subprocess.Popen([self.env['CC'], '-dumpversion'], stdout=subprocess.PIPE)
+ process = subprocess.Popen("%s %s" %(self.env['CC'], '-dumpversion'), stdout=subprocess.PIPE, shell=True)
(stdout, stderr) = process.communicate()
gcc_version = stdout
# If match is None we don't know the version.