diff options
Diffstat (limited to 'openssl/crypto/cast/asm/cast-586.pl')
-rw-r--r-- | openssl/crypto/cast/asm/cast-586.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/crypto/cast/asm/cast-586.pl b/openssl/crypto/cast/asm/cast-586.pl index 6be0bfe57..bf6810d33 100644 --- a/openssl/crypto/cast/asm/cast-586.pl +++ b/openssl/crypto/cast/asm/cast-586.pl @@ -3,7 +3,8 @@ # define for pentium pro friendly version $ppro=1; -push(@INC,"perlasm","../../perlasm"); +$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; +push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; require "cbc.pl"; |