From: Andrew Bartlett Date: Sun, 3 Nov 2019 23:12:02 +0000 (+1300) Subject: s3-build: Skip building the ndr_table at the tail of ndr_libnetapi.c X-Git-Tag: talloc-2.3.1~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd8dfa16dea73da3e07c0e84c308f74246cc5d13;p=thirdparty%2Fsamba.git 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 --- 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