summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/unqlite/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/unqlite/package.py')
-rw-r--r--var/spack/repos/builtin/packages/unqlite/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/unqlite/package.py b/var/spack/repos/builtin/packages/unqlite/package.py
index 84c3b5575e..e23f97c02b 100644
--- a/var/spack/repos/builtin/packages/unqlite/package.py
+++ b/var/spack/repos/builtin/packages/unqlite/package.py
@@ -16,3 +16,11 @@ class Unqlite(CMakePackage):
version('master', branch='master')
version('1.1.9', sha256='33d5b5e7b2ca223942e77d31112d2e20512bc507808414451c8a98a7be5e15c0')
+
+ # This patch corresponds to https://github.com/symisc/unqlite/pull/99
+ # It should restricted to @1.1.9 once the PR lands.
+ patch('0001-Removed-the-STATIC-key-word-to-enable-building-a-sha.patch')
+
+ def cmake_args(self):
+ args = ["-DBUILD_SHARED_LIBS:BOOL=ON"]
+ return args