sqlite: fix AttributeError when +functions (#45327)
using self.compiler.cc_pic_flag here results in these errors: ==> sqlite: Executing phase: 'install' ==> Error: AttributeError: 'AutotoolsBuilder' object has no attribute 'compiler' change it to self.pkg.compiler.cc_pic_flag instead.
This commit is contained in:
parent
fa8a512945
commit
a6c638d0fa
@ -279,7 +279,7 @@ def build_libsqlitefunctions(self):
|
|||||||
libraryname = "libsqlitefunctions." + dso_suffix
|
libraryname = "libsqlitefunctions." + dso_suffix
|
||||||
cc = Executable(spack_cc)
|
cc = Executable(spack_cc)
|
||||||
cc(
|
cc(
|
||||||
self.compiler.cc_pic_flag,
|
self.pkg.compiler.cc_pic_flag,
|
||||||
"-lm",
|
"-lm",
|
||||||
"-shared",
|
"-shared",
|
||||||
"extension-functions.c",
|
"extension-functions.c",
|
||||||
|
Loading…
Reference in New Issue
Block a user