gdrcopy: fix install of version >= 2.2 (#22987)
'prefix' option must be lowercase for versions >= 2.2
This commit is contained in:
parent
51421100cf
commit
5309417f19
@ -26,4 +26,9 @@ def build(self, spec, prefix):
|
|||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
mkdir(prefix.include)
|
mkdir(prefix.include)
|
||||||
mkdir(prefix.lib64)
|
mkdir(prefix.lib64)
|
||||||
make('lib_install', 'PREFIX={0}'.format(self.prefix))
|
if spec.satisfies('@2.2:'):
|
||||||
|
make('lib_install',
|
||||||
|
'prefix={0}'.format(self.prefix))
|
||||||
|
else:
|
||||||
|
make('lib_install',
|
||||||
|
'PREFIX={0}'.format(self.prefix))
|
||||||
|
Loading…
Reference in New Issue
Block a user