[giflib] Set LIBVER and LIBMAJOR when installing (#25173)
* Set LIBVER and LIBMAJOR * Typo fix * Fix 2 * Fix #3
This commit is contained in:
parent
ab5954520f
commit
a9bc118031
@ -29,6 +29,8 @@ def install_targets(self):
|
||||
targets = ['install']
|
||||
if self.spec.satisfies('@5.2.0:'):
|
||||
targets.append('PREFIX={0}'.format(self.spec.prefix))
|
||||
targets.append('LIBMAJOR={0}'.format(self.spec.version.up_to(1)))
|
||||
targets.append('LIBVER={0}'.format(self.spec.version))
|
||||
|
||||
return targets
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user