summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index da158a3f54..c75ed9e671 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -347,7 +347,8 @@ REQUIRED_SUBSYSTEMS = LIBNDR NDR_NBT
librpc/gen_ndr/tables.c: $(IDL_NDR_HEADER_FILES)
@echo Generating librpc/gen_ndr/tables.c
- @$(PERL) $(srcdir)/librpc/tables.pl --output=librpc/gen_ndr/tables.c $(IDL_NDR_HEADER_FILES) > librpc/gen_ndr/tables.c
+ @$(PERL) $(srcdir)/librpc/tables.pl --output=librpc/gen_ndr/tables.c $(IDL_NDR_HEADER_FILES) > librpc/gen_ndr/tables.x
+ mv librpc/gen_ndr/tables.x librpc/gen_ndr/tables.c
[SUBSYSTEM::NDR_IFACE_TABLE]
OBJ_FILES = gen_ndr/tables.o