aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cast/asm
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
commit4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c (patch)
tree328056764c4a9c99714f52e0a314f048c8776f59 /crypto/cast/asm
parentaff686df91d856511cf3570b7d8755300da22451 (diff)
downloadopenssl-4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c.tar.gz
Update perl asm scripts include paths for perlasm.
Diffstat (limited to 'crypto/cast/asm')
-rw-r--r--crypto/cast/asm/cast-586.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cast/asm/cast-586.pl b/crypto/cast/asm/cast-586.pl
index 6be0bfe572..bf6810d335 100644
--- a/crypto/cast/asm/cast-586.pl
+++ b/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";