Skip to content

Commit b6e8c08

Browse files
committed
Updated build script
1 parent 1beeb1c commit b6e8c08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_setup_libssh2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def build_ssh2():
2525
if bool(os.environ.get('SYSTEM_LIbBSSH2', False)):
26-
stderr.write("Using system libssh2..%s" % (os.sep))
26+
stderr.write("Using system libssh2..%s" % (os.sep,))
2727
return
2828
if os.path.exists('/usr/local/opt/openssl'):
2929
os.environ['OPENSSL_ROOT_DIR'] = '/usr/local/opt/openssl'
@@ -42,5 +42,5 @@ def build_ssh2():
4242
check_call('cmake --build . --config Release', shell=True, env=os.environ)
4343
os.chdir('..')
4444

45-
for src in glob('build_dir/src/libssh2.*'):
45+
for src in glob('build_dir/src/libssh2.{so,dylib}*'):
4646
copy2(src, 'ssh2/')

0 commit comments

Comments
 (0)