Skip to content

Commit

Permalink
s3-build: Skip building the ndr_table at the tail of ndr_libnetapi.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
signed-off-by: Douglas Bagnall <[email protected]>
Pair-progammed-with: Douglas Bagnall <[email protected]>
  • Loading branch information
abartlet authored and douglasbagnall committed Nov 13, 2019
1 parent dddef1b commit dd8dfa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source3/librpc/wscript_build
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit dd8dfa1

Please sign in to comment.