aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-09-03 19:33:12 +0300
committerlevlam <levlam@telegram.org>2021-09-03 19:33:12 +0300
commit651a4f0eacddd4bae9e3bf0b472f072d79bc8f49 (patch)
treee416b6d45f98b3c2290ef0496554aa5aecc52b76
parent9ebeafbb5b7d4bdc3e7f61d9250969f03fdabd59 (diff)
Install gperf through vcpkg.
-rw-r--r--build.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.html b/build.html
index fecb4a296..7acc9a3e2 100644
--- a/build.html
+++ b/build.html
@@ -501,7 +501,6 @@ function onOptionsChanged() {
pre_text.push('Download and install <a href="https://visualstudio.microsoft.com/vs/community/">Microsoft Visual Studio</a>. Enable C++' + win10_sdk + ' support while installing.');
pre_text.push('Download and install <a href="https://cmake.org/download/">CMake</a>; choose "Add CMake to the system PATH" option while installing.');
pre_text.push('Download and install <a href="https://git-scm.com/download/win">Git</a>.');
- pre_text.push('Download and install <a href="https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/">gperf</a>. Add the path to gperf.exe to the PATH environment variable.');
pre_text.push('Download and unpack <a href="https://windows.php.net/download#php-7.2">PHP</a>. Add the path to php.exe to the PATH environment variable.');
if (target === 'C++/CX') {
switch (archiver) {
@@ -722,12 +721,12 @@ function onOptionsChanged() {
commands.push('cd vcpkg');
commands.push(local + 'bootstrap-vcpkg.bat');
if (target === 'C++/CX') {
- commands.push(local + 'vcpkg.exe install openssl-uwp:arm-uwp openssl-uwp:x64-uwp openssl-uwp:x86-uwp zlib:arm-uwp zlib:x64-uwp zlib:x86-uwp');
+ commands.push(local + 'vcpkg.exe install gperf openssl-uwp:arm-uwp openssl-uwp:x64-uwp openssl-uwp:x86-uwp zlib:arm-uwp zlib:x64-uwp zlib:x86-uwp');
} else {
if (build_64bit) {
- commands.push(local + 'vcpkg.exe install openssl:x64-windows zlib:x64-windows');
+ commands.push(local + 'vcpkg.exe install gperf openssl:x64-windows zlib:x64-windows');
} else {
- commands.push(local + 'vcpkg.exe install openssl:x86-windows zlib:x86-windows');
+ commands.push(local + 'vcpkg.exe install gperf openssl:x86-windows zlib:x86-windows');
}
}
commands.push('cd ..');