summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/config.mk2
-rwxr-xr-xsource4/librpc/idl-deps.pl2
-rw-r--r--source4/main.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 4f2d3a2456..cd15c442a4 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -456,7 +456,7 @@ include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et|
heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
-include hcrypto-deps.pl heimdal/lib/des/*.h|
+include perl_path_wrapper.sh hcrypto-deps.pl heimdal/lib/des/*.h|
heimdal/lib/des/hcrypto:
rm -f $@; ln -s ./../des $@
diff --git a/source4/librpc/idl-deps.pl b/source4/librpc/idl-deps.pl
index 9865a41283..176a47860e 100755
--- a/source4/librpc/idl-deps.pl
+++ b/source4/librpc/idl-deps.pl
@@ -5,7 +5,7 @@ my %vars = ();
foreach(@ARGV) {
push (@{$vars{IDL_FILES}}, $_);
- my $b = $_; $b =~ s/.*\/(.*?).idl$/\1/;
+ my $b = $_; $b =~ s/.*\/(.*?).idl$/$1/;
push (@{$vars{IDL_HEADER_FILES}}, "librpc/gen_ndr/$b.h");
push (@{$vars{IDL_NDR_HEADER_FILES}}, "librpc/gen_ndr/ndr_$b.h");
push (@{$vars{IDL_NDR_PARSE_FILES}}, "librpc/gen_ndr/ndr_$b.c");
diff --git a/source4/main.mk b/source4/main.mk
index a8860e3756..3de42c96cb 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -188,7 +188,7 @@ installpidl: pidl/Makefile
uninstallpidl: pidl/Makefile
$(MAKE) -C pidl uninstall
-include librpc/idl-deps.pl librpc/idl/*.idl|
+include heimdal_build/perl_path_wrapper.sh ../librpc/idl-deps.pl librpc/idl/*.idl|
$(IDL_HEADER_FILES) $(IDL_NDR_HEADER_FILES) $(IDL_NDR_PARSE_C_FILES) \
$(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \