summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/sqlite/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/sqlite/package.py b/var/spack/repos/builtin/packages/sqlite/package.py
index a9feadedb2..4b3b373489 100644
--- a/var/spack/repos/builtin/packages/sqlite/package.py
+++ b/var/spack/repos/builtin/packages/sqlite/package.py
@@ -279,7 +279,7 @@ class AutotoolsBuilder(spack.build_systems.autotools.AutotoolsBuilder):
libraryname = "libsqlitefunctions." + dso_suffix
cc = Executable(spack_cc)
cc(
- self.compiler.cc_pic_flag,
+ self.pkg.compiler.cc_pic_flag,
"-lm",
"-shared",
"extension-functions.c",