summaryrefslogtreecommitdiffstats
path: root/crypto/whrlpool/asm/wp-mmx.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/whrlpool/asm/wp-mmx.pl')
-rw-r--r--crypto/whrlpool/asm/wp-mmx.pl3
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");