summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-16 17:23:06 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-16 17:33:23 +0200
commitd3ea64451ca3534c29ed66fb79bb9acec7683271 (patch)
tree49761491c3e8263938e8b3536dbeed7930c92b3d /source4/heimdal_build
parent2aba5aa4b61df0b7851a77eff3273766fb434819 (diff)
downloadsamba-d3ea64451ca3534c29ed66fb79bb9acec7683271.tar.gz
samba-d3ea64451ca3534c29ed66fb79bb9acec7683271.tar.bz2
samba-d3ea64451ca3534c29ed66fb79bb9acec7683271.zip
heimdal: Allow leaving off prefix to HEIMDAL_ERRTABLE().
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/wscript_build20
1 files changed, 11 insertions, 9 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index fcbc7f35dd..47e5965e30 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -118,6 +118,8 @@ def HEIMDAL_ASN1(name, source,
def HEIMDAL_ERRTABLE(name, source):
'''Build a heimdal errtable from a .et file'''
+ source = heimdal_path(source)
+
bname = source[0:-3]; # strip off the .et suffix
if not SET_TARGET_TYPE(bld, name, 'ET'):
@@ -373,31 +375,31 @@ HEIMDAL_ASN1('HEIMDAL_HDB_ASN1',
includes='../heimdal/lib/asn1')
HEIMDAL_ERRTABLE('HEIMDAL_ASN1_ERR_ET',
- '../heimdal/lib/asn1/asn1_err.et')
+ 'lib/asn1/asn1_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_HDB_ERR_ET',
- '../heimdal/lib/hdb/hdb_err.et')
+ 'lib/hdb/hdb_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_HEIM_ERR_ET',
- '../heimdal/lib/krb5/heim_err.et')
+ 'lib/krb5/heim_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_K524_ERR_ET',
- '../heimdal/lib/krb5/k524_err.et')
+ 'lib/krb5/k524_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_KRB_ERR_ET',
- '../heimdal/lib/krb5/krb_err.et')
+ 'lib/krb5/krb_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_KRB5_ERR_ET',
- '../heimdal/lib/krb5/krb5_err.et')
+ 'lib/krb5/krb5_err.et')
HEIMDAL_ERRTABLE('HEIMDAL_GKRB5_ERR_ET',
- '../heimdal/lib/gssapi/krb5/gkrb5_err.et')
+ 'lib/gssapi/krb5/gkrb5_err.et')
if not bld.CONFIG_SET('USING_SYSTEM_ROKEN'):
@@ -724,7 +726,7 @@ if not bld.CONFIG_SET("USING_SYSTEM_HX509"):
)
HEIMDAL_ERRTABLE('HEIMDAL_HX509_ERR_ET',
- '../heimdal/lib/hx509/hx509_err.et')
+ 'lib/hx509/hx509_err.et')
HEIMDAL_HX509_OBJH_SOURCE = '''
lib/hx509/ca.c
@@ -770,7 +772,7 @@ if not bld.CONFIG_SET("USING_SYSTEM_HX509"):
if not bld.CONFIG_SET('USING_SYSTEM_WIND'):
HEIMDAL_ERRTABLE('WIND_ERR_ET',
- '../heimdal/lib/wind/wind_err.et')
+ 'lib/wind/wind_err.et')
HEIMDAL_GENERATOR(
name="HEIMDAL_ERRORLIST",