xfsprogs: add --with-systemd-unit-dir option (#22075)

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

View File

@ -27,7 +27,9 @@ def setup_build_environment(self, env):
self.spec['util-linux'].prefix.include.blkid)
def configure_args(self):
args = ['LDFLAGS=-lintl']
args = ['LDFLAGS=-lintl',
"--with-systemd-unit-dir=" +
self.spec['xfsprogs'].prefix.lib.systemd.system]
return args
def install(self, spec, prefix):