summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-16 17:26:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-16 17:33:24 +0200
commit9147e196111b28bddf8994df199a9992a24aa5f2 (patch)
tree8f30f2538671bd5e62a1b028cf52be6bcb2ffdff /source4
parenteab84a6ed0b90facd43ff7075c51f5e3e1b4739d (diff)
downloadsamba-9147e196111b28bddf8994df199a9992a24aa5f2.tar.gz
samba-9147e196111b28bddf8994df199a9992a24aa5f2.tar.bz2
samba-9147e196111b28bddf8994df199a9992a24aa5f2.zip
heimdal: Allow leaving off prefix from asn1 option_file.
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal_build/wscript_build7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index aa952e7786..6a735ff465 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -23,6 +23,9 @@ def HEIMDAL_ASN1(name, source,
dname = os.path.dirname(source)
asn1name = "%s_asn1" % bname
+ if option_file:
+ option_file = heimdal_path(option_file)
+
if not SET_TARGET_TYPE(bld, name, 'ASN1'):
return
@@ -340,7 +343,7 @@ HEIMDAL_ASN1('HEIMDAL_GSSAPI_ASN1',
HEIMDAL_ASN1('HEIMDAL_KRB5_ASN1',
'lib/asn1/krb5.asn1',
- option_file='../heimdal/lib/asn1/krb5.opt',
+ option_file='lib/asn1/krb5.opt',
directory='lib/asn1'
)
@@ -699,7 +702,7 @@ if not bld.CONFIG_SET("USING_SYSTEM_HX509"):
HEIMDAL_ASN1('HEIMDAL_CMS_ASN1',
'lib/asn1/cms.asn1',
- option_file='../heimdal/lib/asn1/cms.opt',
+ option_file='lib/asn1/cms.opt',
directory='lib/asn1'
)