aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/bn/asm/co-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/bn/asm/co-586.pl')
-rw-r--r--openssl/crypto/bn/asm/co-586.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/crypto/bn/asm/co-586.pl b/openssl/crypto/bn/asm/co-586.pl
index 5d962cb95..57101a6bd 100644
--- a/openssl/crypto/bn/asm/co-586.pl
+++ b/openssl/crypto/bn/asm/co-586.pl
@@ -1,6 +1,7 @@
#!/usr/local/bin/perl
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],$0);