keepalived: add --with-systemdsystemunitdir option (#22098)

This commit is contained in:
Tomoyasu Nojiri 2021-03-05 18:37:39 +09:00 committed by GitHub
parent dc275e1f83
commit 97afb34ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,3 +26,8 @@ class Keepalived(AutotoolsPackage):
version('2.0.11', sha256='a298b0c02a20959cfc365b62c14f45abd50d5e0595b2869f5bce10ec2392fa48')
depends_on('openssl')
def configure_args(self):
args = ["--with-systemdsystemunitdir=" +
self.spec['keepalived'].prefix.lib.systemd.system]
return args