summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/musl/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/musl/package.py b/var/spack/repos/builtin/packages/musl/package.py
index 4fb6d90170..cfbcf177bb 100644
--- a/var/spack/repos/builtin/packages/musl/package.py
+++ b/var/spack/repos/builtin/packages/musl/package.py
@@ -43,7 +43,7 @@ class Musl(Package):
format(self.compiler.cc))
def configure_args(self):
- args = ['--prefix={0}'.format(prefix)]
+ args = ['--prefix={0}'.format(self.prefix)]
if self.compiler.name == 'gcc':
args.append('--enable-wrapper=gcc')
elif self.compiler.name == 'clang':