summaryrefslogtreecommitdiff
path: root/giscanner/shlibs.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/shlibs.py')
-rw-r--r--giscanner/shlibs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
index 9579e7e6..2ea34c91 100644
--- a/giscanner/shlibs.py
+++ b/giscanner/shlibs.py
@@ -69,7 +69,7 @@ def _resolve_non_libtool(options, binary, libraries):
if not libraries:
return []
- if os.uname()[0] == 'OpenBSD':
+ if os.name == 'OpenBSD':
# Hack for OpenBSD when using the ports' libtool which uses slightly
# different directories to store the libraries in. So rewite binary.args[0]
# by inserting '.libs/'.