summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 2f07affffea..e9e28bd035a 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -199,7 +199,7 @@ include/config.h:
include/proto.h: $(PROTO_OBJS:.o=.c)
@echo "Creating include/proto.h"
- @$(PERL) script/mkproto.pl --public-define=_PROTO_H_ \
+ @$(PERL) $(srcdir)/script/mkproto.pl --public-define=_PROTO_H_ \
--public=include/proto.h --private=include/proto.h \
$(PROTO_OBJS)