=== Rebuild with GCC-5.1.0. Part III ===
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user