=== Rebuild with GCC-5.1.0. Part III ===

This commit is contained in:
Alexey Pavlov
2015-07-06 16:52:48 +03:00
parent fac4a50b7f
commit 6514497c4f
38 changed files with 805 additions and 257 deletions

View File

@@ -44,6 +44,19 @@
lflags = lflags.split()
# if wx-config --libs output does not start with -L, wx is
@@ -663,9 +663,11 @@
newLFLAGS = []
for flag in lflags:
if flag[:2] == '-L':
- libdirs.append(flag[2:])
+ libdirs.append(os.popen(' '.join(['cygpath', '-am', flag[2:]])).readline().strip())
elif flag[:2] == '-l':
libs.append(flag[2:])
+ elif flag[:1] == '/':
+ libs.append(os.popen(' '.join(['cygpath', '-am', flag])).readline().strip())
else:
newLFLAGS.append(flag)
return removeDuplicates(newLFLAGS)
@@ -856,14 +861,16 @@
# gcc needs '.res' and '.rc' compiled to object files !!!
try: