From 7e7067785ce0c0352c32f6d60cb6e011b912f984 Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Mon, 23 Mar 2015 19:29:56 +0100 Subject: 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 --- giscanner/ccompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- cgit v1.2.1