diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-19 12:29:50 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-06-19 14:22:57 +0200 |
commit | d67e18ee373e519a35316f6159efbb2229cacffb (patch) | |
tree | 43165f76acfe73b635caf246b67cd9fecfceae94 /source4/heimdal_build/asn1_deps.pl | |
parent | 809d82d16943bf59e6623bcc6ce5248999f6da07 (diff) | |
download | samba-d67e18ee373e519a35316f6159efbb2229cacffb.tar.gz samba-d67e18ee373e519a35316f6159efbb2229cacffb.tar.xz samba-d67e18ee373e519a35316f6159efbb2229cacffb.zip |
Remove the dependency on $(abspath) in makefiles
This is not around before GNU make 3.81, for me this fixes the build
on GNU make 3.80
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit c85a3632623184cb97c2e8567ca77834e81070a4)
Diffstat (limited to 'source4/heimdal_build/asn1_deps.pl')
-rwxr-xr-x | source4/heimdal_build/asn1_deps.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 61217817607..80334328fc4 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -6,6 +6,7 @@ # GPL use File::Basename; +use Cwd 'getcwd'; my $file = shift; my $prefix = shift; @@ -31,7 +32,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) \$(abspath \$(heimdalsrcdir)/$file) $prefix $options\n\n"; +print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) " . getcwd() . "/\$(heimdalsrcdir)/$file $prefix $options\n\n"; open(IN,"heimdal/$file") or die("Can't open heimdal/$file: $!"); my @lines = <IN>; |