diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-01-05 22:28:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-01-05 22:28:38 +0000 |
commit | 4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c (patch) | |
tree | 328056764c4a9c99714f52e0a314f048c8776f59 /crypto/whrlpool/asm | |
parent | aff686df91d856511cf3570b7d8755300da22451 (diff) |
Update perl asm scripts include paths for perlasm.
Diffstat (limited to 'crypto/whrlpool/asm')
-rw-r--r-- | crypto/whrlpool/asm/wp-mmx.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/whrlpool/asm/wp-mmx.pl b/crypto/whrlpool/asm/wp-mmx.pl index d52439bca4..32cf16380b 100644 --- a/crypto/whrlpool/asm/wp-mmx.pl +++ b/crypto/whrlpool/asm/wp-mmx.pl @@ -45,7 +45,8 @@ # non-MMX implementation would actually pay off, but till # opposite is proved "unlikely" is assumed. -push(@INC,"../../perlasm"); +$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; +push(@INC,"${dir}","${dir}../../perlasm"); require "x86asm.pl"; &asm_init($ARGV[0],"wp-mmx.pl"); |