SEED to support OPENSSL_SMALL_FOOTPRINT: ~2x size decrease on x86.
[openssl.git] / crypto / x86cpuid.pl
index 0fb0657fa7ec0020d395e4451833d521d452f59d..c3291112032b3ff7b365830ecf123f3a4efc4df8 100644 (file)
@@ -1,6 +1,7 @@
 #!/usr/bin/env perl
 
-push(@INC,"perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC, "${dir}perlasm", "perlasm");
 require "x86asm.pl";
 
 &asm_init($ARGV[0],"x86cpuid");