Skip to content

Commit 8c8b3a8

Browse files
committed
libssh2 refactor
1 parent 7811d0d commit 8c8b3a8

File tree

4 files changed

+1
-1022
lines changed

4 files changed

+1
-1022
lines changed

libraries/install_libssh2.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727
if(!$firstdir = zip_first_dir($tmpfile)) exit_error("Invalid zip archive");
2828
if(!unzip($tmpfile, ARCH_PATH)) exit_error();
2929
if(!rename_wait(ARCH_PATH . $firstdir, $path)) exit_error("Can't rename library path");
30-
31-
32-
// Copy static solution files
33-
if(!@copy(__DIR__ . '\libssh2.sln', $path . 'win32\libssh2.sln')) exit_error("Can't copy solution file");
34-
if(!@copy(__DIR__ . '\libssh2.vcxproj', $path . 'win32\libssh2.vcxproj')) exit_error("Can't copy project file");
30+
if(!unzip(__DIR__ . '\libssh2-msvc.zip', $path . 'win32')) exit_error("Can't unzip msvc project");
3531

3632

3733
// Compile static libssh2

libraries/libssh2-msvc.zip

3.9 KB
Binary file not shown.

libraries/libssh2.sln

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)