From abe7f8b457c29af112005e821b57c0a355df82c5 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 13 Jan 2008 17:42:04 +0000 Subject: Make all x86_64 modules independent on current working directory. --- crypto/x86_64cpuid.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crypto/x86_64cpuid.pl') diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl index a8049def18..18a2867036 100644 --- a/crypto/x86_64cpuid.pl +++ b/crypto/x86_64cpuid.pl @@ -99,7 +99,9 @@ OPENSSL_wipe_cpu: ___ -open STDOUT,"| $^X perlasm/x86_64-xlate.pl $output"; +$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; +open STDOUT,"| $^X $dir/perlasm/x86_64-xlate.pl $output"; + print<<___; .text -- cgit v1.2.3