nfs-utils: fix compile error on ubuntu (#18066)

This commit is contained in:
darmac 2020-08-17 06:27:47 +08:00 committed by GitHub
parent af9a3dc69a
commit bef02e9d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,10 @@ class NfsUtils(AutotoolsPackage):
depends_on('keyutils') depends_on('keyutils')
depends_on('sqlite') depends_on('sqlite')
depends_on('util-linux') depends_on('util-linux')
depends_on('gettext')
def setup_build_environment(self, env): def setup_build_environment(self, env):
env.append_flags('LDFLAGS', '-lintl') env.append_flags('LIBS', '-lintl')
def configure_args(self): def configure_args(self):
args = ['--disable-gss', '--with-rpcgen=internal'] args = ['--disable-gss', '--with-rpcgen=internal']