projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update perl asm scripts include paths for perlasm.
[openssl.git]
/
crypto
/
whrlpool
/
asm
/
wp-mmx.pl
diff --git
a/crypto/whrlpool/asm/wp-mmx.pl
b/crypto/whrlpool/asm/wp-mmx.pl
index d52439bca4b805f668134731e82411b4e19a2bb0..32cf16380b54d39aea6ff7ed5a3b40fae6f2ec7c 100644
(file)
--- 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.
# 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");
require "x86asm.pl";
&asm_init($ARGV[0],"wp-mmx.pl");