From 6ba3cffb481506bf3dc8921fbf4586c4094ed767 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 25 Jun 2008 16:51:37 +0200 Subject: Revert "Remove the dependency on $(abspath) in makefiles" This reverts commit c85a3632623184cb97c2e8567ca77834e81070a4. (This used to be commit 1a771c664444ff43e141238f473273700b392aa7) --- source4/heimdal_build/asn1_deps.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/heimdal_build/asn1_deps.pl') diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 80334328fc..6121781760 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -6,7 +6,6 @@ # GPL use File::Basename; -use Cwd 'getcwd'; my $file = shift; my $prefix = shift; @@ -32,7 +31,7 @@ my $header = "$dirname/$prefix.h"; print "$header: \$(heimdalsrcdir)/$file \$(ASN1C)\n"; print "\t\@echo \"Compiling ASN1 file \$(heimdalsrcdir)/$file\"\n"; -print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) " . getcwd() . "/\$(heimdalsrcdir)/$file $prefix $options\n\n"; +print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(abspath \$(heimdalsrcdir)/$file) $prefix $options\n\n"; open(IN,"heimdal/$file") or die("Can't open heimdal/$file: $!"); my @lines = ; -- cgit