diff options
author | Nicola Fontana <ntd@entidi.it> | 2015-03-23 19:29:56 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-02-16 16:28:44 -0500 |
commit | 7e7067785ce0c0352c32f6d60cb6e011b912f984 (patch) | |
tree | 0ee09a900bc9809db4ec69772d7422ee9ebd985f /giscanner | |
parent | 72b6df60f2d6bcd3628f57c794430f1eec4a04aa (diff) | |
download | gobject-introspection-7e7067785ce0c0352c32f6d60cb6e011b912f984.tar.gz |
scanner: Assume gcc use the same path separator as python
resolve_windows_libs() uses `gcc -print-search-dirs`. When we are cross
compiling with MinGW on linux, gcc uses ':' as path separator, not ';'.
https://bugzilla.gnome.org/show_bug.cgi?id=761981
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py index 6ddbdfe4..c83bd7ea 100644 --- a/giscanner/ccompiler.py +++ b/giscanner/ccompiler.py @@ -287,7 +287,7 @@ class CCompiler(object): o, e = proc.communicate() for line in o.decode('ascii').splitlines(): if line.startswith('libraries: '): - libsearch = line[len('libraries: '):].split(';') + libsearch = line[len('libraries: '):].split(os.pathsep) shlibs = [] not_resolved = [] |