Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ac04f12..51dfe6f 100644
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,7 @@ def set_openssl_lib_path():
msg = ''
try:
- libdir = subprocess.check_output(['pkg-config', '--variable=libdir', 'openssl']).strip()
+ libdir = subprocess.Popen(['pkg-config', '--variable=libdir', 'openssl'], stdout=subprocess.PIPE).communicate()[0].strip()
except (subprocess.CalledProcessError, OSError), e:
libdir = None
msg = str(e)