From 228ab3466d0e5af46313de200b5b976d46838378 Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Wed, 16 Mar 2016 20:20:02 +0200 Subject: [PATCH] build: fix build when --without-quota specified BUG: https://bugzilla.samba.org/show_bug.cgi?id=11798 Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- source3/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/wscript b/source3/wscript index c23f621467a..9b73bfcff4f 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1375,6 +1375,7 @@ main() { conf.CHECK_FUNCS_IN('getspnam', 'security') conf.CHECK_FUNCS_IN('getspnam', 'sec') + legacy_quota_libs = '' if Options.options.with_quotas: # For quotas on Veritas VxFS filesystems conf.CHECK_HEADERS('sys/fs/vx_quota.h') @@ -1459,7 +1460,6 @@ main() { # check if Legacy quota code can be brought in # if standard interfaces are not supported # - legacy_quota_libs = '' if not conf.CONFIG_SET('WITH_QUOTAS'): if host_os.rfind('sunos5') > -1: conf.DEFINE('SUNOS5', '1') @@ -1477,7 +1477,7 @@ main() { addmain=False) if not conf.CONFIG_SET('WITH_QUOTAS'): legacy_quota_libs = '' - conf.env['legacy_quota_libs'] = legacy_quota_libs + conf.env['legacy_quota_libs'] = legacy_quota_libs # # cluster support (CTDB)