mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
9ccc64ca98
* Simplify non-windows openssl build
* No static libs in dynamic triplet
* Install /etc/ssl
* Refactor common and specific setup
* Fix debug configuration
* cleanup
* Remove deprecated no-ssl2 option
e80381e1a3
* Fix absolute path
* No legacy target for debug
* Check for Perl's IPC::Cmd
* Update linux kernel headers message
* CR requests
23 lines
741 B
Diff
23 lines
741 B
Diff
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
|
|
index 343cdc1..e48038e 100644
|
|
--- a/tools/c_rehash.in
|
|
+++ b/tools/c_rehash.in
|
|
@@ -12,7 +12,7 @@
|
|
# and add symbolic links to their hash values.
|
|
|
|
my $dir = {- quotify1($config{openssldir}) -};
|
|
-my $prefix = {- quotify1($config{prefix}) -};
|
|
+use FindBin;
|
|
|
|
my $errorcount = 0;
|
|
my $openssl = $ENV{OPENSSL} || "openssl";
|
|
@@ -61,7 +61,7 @@ if (defined(&Cwd::getcwd)) {
|
|
|
|
# DOS/Win32 or Unix delimiter? Prefix our installdir, then search.
|
|
my $path_delim = ($pwd =~ /^[a-z]\:/i) ? ';' : ':';
|
|
-$ENV{PATH} = "$prefix/bin" . ($ENV{PATH} ? $path_delim . $ENV{PATH} : "");
|
|
+$ENV{PATH} = "$FindBin::Bin" . ($ENV{PATH} ? $path_delim . $ENV{PATH} : "");
|
|
|
|
if (! -x $openssl) {
|
|
my $found = 0;
|