From dd8dfa16dea73da3e07c0e84c308f74246cc5d13 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 4 Nov 2019 12:12:02 +1300 Subject: [PATCH] s3-build: Skip building the ndr_table at the tail of ndr_libnetapi.c This is not a real protocol and all the functions are set to nopull,nopush but do not supply replacement functions. This is the best was I could find to skip compiling the table as otherwise it would point to undefined functions. This does not happen until we generate the ndr_table for idl files without a UUID, but we will shortly do that. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14191 Signed-off-by: Andrew Bartlett signed-off-by: Douglas Bagnall Pair-progammed-with: Douglas Bagnall --- source3/librpc/wscript_build | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/librpc/wscript_build b/source3/librpc/wscript_build index 6bc3667f719..34cd96bebda 100644 --- a/source3/librpc/wscript_build +++ b/source3/librpc/wscript_build @@ -1,6 +1,7 @@ #!/usr/bin/env python bld.SAMBA3_SUBSYSTEM('NDR_LIBNETAPI', + cflags="-D SKIP_NDR_TABLE_libnetapi", source='gen_ndr/ndr_libnetapi.c', public_deps='ndr', allow_warnings=True -- 2.47.3