summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/config.mk16
-rwxr-xr-xsource4/heimdal_build/perl_path_wrapper.sh7
2 files changed, 15 insertions, 8 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index ef9b374e6a..b4b0795cbf 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -412,15 +412,15 @@ heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
@cp heimdal/lib/roken/err.hin heimdal/lib/roken/err.h
-include asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1|
-include asn1_deps.pl heimdal/lib/gssapi/spnego.asn1 spnego_asn1|
-include asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 --encode-rfc1510-bit-string|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/hdb/hdb.asn1 hdb_asn1|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/gssapi/spnego.asn1 spnego_asn1|
+include perl_path_wrapper.sh asn1_deps.pl heimdal/lib/asn1/k5.asn1 krb5_asn1 --encode-rfc1510-bit-string|
-include et_deps.pl heimdal/lib/asn1/asn1_err.et|
-include et_deps.pl heimdal/lib/hdb/hdb_err.et|
-include et_deps.pl heimdal/lib/krb5/heim_err.et|
-include et_deps.pl heimdal/lib/krb5/k524_err.et|
-include et_deps.pl heimdal/lib/krb5/krb5_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/asn1/asn1_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/hdb/hdb_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/heim_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/k524_err.et|
+include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et|
heimdal_basics: \
heimdal/lib/roken/vis.h \
diff --git a/source4/heimdal_build/perl_path_wrapper.sh b/source4/heimdal_build/perl_path_wrapper.sh
new file mode 100755
index 0000000000..f739171206
--- /dev/null
+++ b/source4/heimdal_build/perl_path_wrapper.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+
+SELF=$0
+DIR=`dirname $SELF`
+
+$PERL $DIR/$@