diff options
-rw-r--r-- | giscanner/shlibs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py index 6c583a4b..4f622db3 100644 --- a/giscanner/shlibs.py +++ b/giscanner/shlibs.py @@ -68,7 +68,7 @@ def _resolve_non_libtool(options, binary, libraries): if not libraries: return [] - if os.name == 'OpenBSD': + if platform.platform().startswith('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/'. |