aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/ripemd/asm/rmd-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/ripemd/asm/rmd-586.pl')
-rw-r--r--openssl/crypto/ripemd/asm/rmd-586.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/crypto/ripemd/asm/rmd-586.pl b/openssl/crypto/ripemd/asm/rmd-586.pl
index 4f3c4c967..e8b2bc2db 100644
--- a/openssl/crypto/ripemd/asm/rmd-586.pl
+++ b/openssl/crypto/ripemd/asm/rmd-586.pl
@@ -5,7 +5,8 @@
$normal=0;
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],$0);