Skip to content
Snippets Groups Projects
Commit 91511538 authored by Kelly (KT) Thompson's avatar Kelly (KT) Thompson
Browse files

Package serf also depends on zlib.

+ Add zlib as a required dependency.
+ Point scons build system to the spack provided zlib installation.
parent 30e8e77f
Branches
Tags
No related merge requests found
......@@ -36,6 +36,7 @@ class Serf(Package):
depends_on('scons')
depends_on('expat')
depends_on('openssl')
depends_on('zlib')
def install(self, spec, prefix):
scons = which("scons")
......@@ -44,8 +45,10 @@ def install(self, spec, prefix):
options.append('APR=%s' % spec['apr'].prefix)
options.append('APU=%s' % spec['apr-util'].prefix)
options.append('OPENSSL=%s' % spec['openssl'].prefix)
options.append('LINKFLAGS=-L%s/lib' % spec['expat'].prefix)
options.append('CPPFLAGS=-I%s/include' % spec['expat'].prefix)
options.append('LINKFLAGS=-L%s/lib -L%s/lib' %
( spec['expat'].prefix, spec['zlib'].prefix ))
options.append('CPPFLAGS=-I%s/include -I%s/include' %
( spec['expat'].prefix, spec['zlib'].prefix ))
scons(*options)
scons('install')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment