rpcsvc-proto: add 'cpp' path for rpcgen (#31157)
This commit is contained in:
parent
3b393fe0eb
commit
2e4b533420
@ -18,3 +18,10 @@ class RpcsvcProto(AutotoolsPackage):
|
||||
|
||||
def configure_args(self):
|
||||
return ['LIBS=-lintl']
|
||||
|
||||
@run_before('build')
|
||||
def change_makefile(self):
|
||||
# Add 'cpp' path for rpcgen
|
||||
filter_file('rpcgen/rpcgen',
|
||||
'rpcgen/rpcgen -Y {0}/lib/spack/env'.format(spack.paths.spack_root),
|
||||
'rpcsvc/Makefile')
|
||||
|
Loading…
Reference in New Issue
Block a user