X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcast%2Fasm%2Fcast-586.pl;h=bf6810d335f25310b06e303623e7573c75c40ef9;hp=6be0bfe57245e75fd0f90fafaffffcf4de51bf03;hb=4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c;hpb=aff686df91d856511cf3570b7d8755300da22451 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";