summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-01-19 05:33:08 -0600
committerGitHub <noreply@github.com>2022-01-19 12:33:08 +0100
commitd12bc3121a8f2aa26e96aa56e5209481d643425e (patch)
treeaa4c01c9eeb9ea0aad9243154b7aeb4ccd9042d3
parent3b2c7633ebd62bb15e7e2a084c3500c78dc78e04 (diff)
downloadspack-d12bc3121a8f2aa26e96aa56e5209481d643425e.tar.gz
spack-d12bc3121a8f2aa26e96aa56e5209481d643425e.tar.bz2
spack-d12bc3121a8f2aa26e96aa56e5209481d643425e.tar.xz
spack-d12bc3121a8f2aa26e96aa56e5209481d643425e.zip
py-pyodbc: remove install_options (#28454)
-rw-r--r--var/spack/repos/builtin/packages/py-pyodbc/package.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyodbc/package.py b/var/spack/repos/builtin/packages/py-pyodbc/package.py
index 71eeeeff0b..1d9d509f14 100644
--- a/var/spack/repos/builtin/packages/py-pyodbc/package.py
+++ b/var/spack/repos/builtin/packages/py-pyodbc/package.py
@@ -16,9 +16,6 @@ class PyPyodbc(PythonPackage):
version('4.0.26', sha256='e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3')
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'link', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('unixodbc', type=('build', 'run'))
-
- def install_options(self, spec, prefix):
- return ['--rpath=%s' % spec['unixodbc'].prefix.lib]
+ depends_on('unixodbc')