diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/sqlite/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/sqlite/package.py | 2 |
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 4e79463f36..531a9bc81d 100644 --- a/var/spack/repos/builtin/packages/sqlite/package.py +++ b/var/spack/repos/builtin/packages/sqlite/package.py @@ -122,6 +122,6 @@ class Sqlite(AutotoolsPackage): if '+functions' in self.spec: libraryname = 'libsqlitefunctions.' + dso_suffix cc = Executable(spack_cc) - cc(self.compiler.pic_flag, '-lm', '-shared', + cc(self.compiler.cc_pic_flag, '-lm', '-shared', 'extension-functions.c', '-o', libraryname) install(libraryname, self.prefix.lib) |