We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1beeb1c commit b6e8c08Copy full SHA for b6e8c08
_setup_libssh2.py
@@ -23,7 +23,7 @@
23
24
def build_ssh2():
25
if bool(os.environ.get('SYSTEM_LIbBSSH2', False)):
26
- stderr.write("Using system libssh2..%s" % (os.sep))
+ stderr.write("Using system libssh2..%s" % (os.sep,))
27
return
28
if os.path.exists('/usr/local/opt/openssl'):
29
os.environ['OPENSSL_ROOT_DIR'] = '/usr/local/opt/openssl'
@@ -42,5 +42,5 @@ def build_ssh2():
42
check_call('cmake --build . --config Release', shell=True, env=os.environ)
43
os.chdir('..')
44
45
- for src in glob('build_dir/src/libssh2.*'):
+ for src in glob('build_dir/src/libssh2.{so,dylib}*'):
46
copy2(src, 'ssh2/')
0 commit comments